[PHP] sms through teleflip and php?

2007-01-16 Thread blackwater dev
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 [EMAIL PROTECTED] but if I use the mail function: mail([EMAIL PROTECTED], test, test); It doesn't work. I've tried several different

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread tg-php
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

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread tg-php
Maybe phpMailer isn't sending the correct headers either. Sometimes all it takes is one missing header that a system is looking for and it may filter it as spam or something. Again, I encourage you to examine the headers from your Thunderbird good email and compare it to your PHP and/or

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread Jochem Maas
also consider that there maybe a reverse lookup being done on the sending MTA that the sms gateway doesn't consider kosher .. and/or that the IP of the sending MTA is grey-listed/black-listed. also a check may be being done to see if the sender's account exists on the sender's [your servers]

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread blackwater dev
Thanks for all the insights. It appears that it might have thought my email was spam as I sent it from another server and it worked fine. Thanks! On 1/16/07, Jochem Maas [EMAIL PROTECTED] wrote: also consider that there maybe a reverse lookup being done on the sending MTA that the sms

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread Jochem Maas
blackwater dev wrote: Thanks for all the insights. It appears that it might have thought my email was spam as I sent it from another server and it worked fine. which makes it even more likely that the 'bad' server doesn't have it's relevant MX DNS records setup properly - I can't really tell