My php email script is working. However, I would like to capture any bounce-backs. My code looks like this:
$to = $data[2];
$subject = "something";
$message = "Dear $data[1],\n
etc. etc. etc";
$headers = 'From: jr@ahlmann.us' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$mailsend = mail($to, $subject, $message, $headers);
if (!$mailsend) {
echo "<h1>mail NOT sent</h1>";
};
What does the returnpath look like and where does it go? If there is such a thing.
Thanks for your help.