Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Body email comes back all on one line
- The Apprentice
May 19, 2008, 1:19 am
rate this thread
line. It used to come back with each field per line.
$to = ""; // E-mail address to send mail to.
$subject = ""; //Subject of the e-mail
$message = "
Email address: $your_email
IP Address: " . $_SERVERREMOTE_ADDR . " Browser: " . $_SERVERHTTP_USER_AGENT . "
"; // Message shown at other end (the e-mail).
mail($to, $subject, stripslashes($message), "From: $your_name
PHP/" . phpversion());
header( "location: " ); //url to re-direct to after mail has been succesfully
Thanks in advance!