Jump to content

mail() return path is inconsistent


rubing

Recommended Posts

I wrote an autoresponder script in order to reply to mobile phone text message emails.  It is working great, however when I send a text from certain phone providers (e.g. Verizon) the return path provided in the script is not used and instead the default for my domain is displayed.  This is an interactive script where users can reply to my autoresponder, so I need the return path to go to the address specified.  Here is my code:

 

$headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);

 

 

 

 

I am writing a php autoresponder script, so that people can send a text message a query to

Link to comment
https://forums.phpfreaks.com/topic/98908-mail-return-path-is-inconsistent/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.