Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am using a very simple script for emailing:Code: Select all
$to = $row['email'];
$subject = "Bounce Test";
$body = "This is a php email bounce test.";
$headers = "From: jandrews@jamesa3.com\r\n" .
"X-Mailer: php".
if (mail($to, $subject, $body, $headers)) echo("<p>Sent.</p>");}
else {echo("<p>Message delivery failed...</p>");}I have looked for examples online, but none of them seem to work. I tried adding:
Code: Select all
"Return-Path: detect-bounce@yourdomain.com\r\n",
&
"Return-Receipt-To: bounce@yourdomain.com\r\n"This is a very important project for me. I would be very greatful for any help!!! Thank you!
scottayy | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]