php mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sanv
Forum Newbie
Posts: 12
Joined: Thu Nov 01, 2007 12:43 pm

php mail

Post by sanv »

hi,

i have got another question.

i have got a site called druck.php

which contains some text and some values - that have been submitted from a registration form - to druck.php and are being represented in there in tables.

the user gets the option to print that information with print() of javascript.
however, i also want to add the option to email it to the user - email address also provided in the registration form $_POST["email"].
this means if the user clicks on there he should get the html and css formatted text in the email specified.

how can i solve that?

thanks for the help
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

The manual is sometime handy for answers to questions like this:

http://www.php.net/manual/en/function.mail.php


Or take a look at SwiftMailer.
(#10850)
sanv
Forum Newbie
Posts: 12
Joined: Thu Nov 01, 2007 12:43 pm

Post by sanv »

thanks alot for the information.

i have got another question.

lets say i have got a file called druck.php where I have a link saying send email that redirects to email.php thru <a href="email.php" title="email test">send as email</a>.

Now in email.php i would like to access elements that were in the $_POST array in druck.php. is it possible to access them??
Post Reply