I have been using mail() to send SMS messages to my phone but the From
address never seems to work as I set it. When it arrives in my email client
it works fine but when it gets to my phone it does. I have set headers like
so:

"From: $from_email\r\nReply-To: $from_email\r\nReturn-path: $from_email"

I have also tried to set this before and then after the mail() call:

ini_set(sendmail_from, "$from_email");
ini_restore(sendmail_from);

Has anyone experienced this same thing? If so, did you manage to get it
fixed?

Jeff



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to