SMS messages and the From field...
| From: | Jeff Lewis | Date: | Sat, 22 Feb 2003 22:44:56 +0000 |
| Subject: | SMS messages and the From field... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136684@lists.php.net to get a copy of this message | ||
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