Mortimer Jazz
04-09-2003, 07:06 PM
I was just going through Jesse's php/emailer tute on this site but I can't the mail part to work
//This works:
mail("me@myhost.co.uk", $subject, $message, $mailFrom);
//but this doesn't
mail("me@myhost.co.uk", $subject, $message, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/" . phpversion());
$from is defined
Can someone tell me where I could be going wrong?
---------------------------------------------
Also, does flashMX now use \n instead of \r for newlines? or do we have to still swap them over before sending text to php?
Cheers
//This works:
mail("me@myhost.co.uk", $subject, $message, $mailFrom);
//but this doesn't
mail("me@myhost.co.uk", $subject, $message, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/" . phpversion());
$from is defined
Can someone tell me where I could be going wrong?
---------------------------------------------
Also, does flashMX now use \n instead of \r for newlines? or do we have to still swap them over before sending text to php?
Cheers