[thelist] A New Query regarding PHP mail with multiple recipients and form data notworking

Marc Seyon seyon at delime.com
Fri Sep 19 15:52:05 CDT 2003


Message from Joel D Canfield (9/19/2003 07:08 AM)
>Any tips on why this *still* isn't working? I'm stumped.
>
>
><?php
>ini_set('SMTP', "mail.24caratdesign.com");
>$email = "joel at spinhead.com";
>$subject = "Contact Request ($today)";
>$body = "This is the body\r\n";
>$headers = "From: webmaster at 24caratdesign.com\n";
>$headers .= "Reply-to: webmaster at 24caratdesign.com\n";
>$headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
>mail ($email, $subject, $body, $headers) or die("Could not send mail");
>?>

Joel,

Have you tried separating your mail headers with \r\n instead of just \n?

regards.
-marc

--
Carnival 2003 in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/


More information about the thelist mailing list