Re: sms through teleflip and php?
| From: | tg-php at gryffyndevelopment dot com | Date: | Tue, 16 Jan 2007 18:44:48 +0000 |
| Subject: | Re: sms through teleflip and php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-247171@lists.php.net to get a copy of this message | ||
I'm guessing the SMS system is rejecting the email because it's lacking some headers that
mail programs tend to use... and spammers sometimes forget.
You might send your email from Thunderbird.. CC yourself on it. Verify that it went through as a
text message, then open the CC'd copy and look at the headers. You can start by taking all
those headers and putting them into your PHP script then slowly commenting some out until you get
just what you need and not a lot of extra garbage (to keep it simple and semi-elegant).
That's where I'd start at least.
-TG
= = = Original message = = =
Has anyone been able to successfully send a text message using php and the
mail function?
It works fine if I open up thunderbird and send a message to
mynumber@teleflip.com but if I use the mail function:
mail("mynumber@teleflip.com", "test", "test");
It doesn't work. I've tried several different approaches so was curious if
others have used it successfully.
Thanks!
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.