Problems sending email using php to some recipients.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amdorsey
Forum Newbie
Posts: 19
Joined: Mon Dec 06, 2004 2:46 pm

Problems sending email using php to some recipients.

Post by amdorsey »

I am having problems sending email to some recipients. It seems like anyone on an exchange server (not sure though) It will deliver fine to about 60% of my customers. Others they just won't recieve anything at all.

Has anyone heard of any problems with PHP sending mail before?
I am desperate at this point to figure this out.

I have tried so many different scripts...
I settled on http://dtheatre.com/scripts/formmail it is a php mail script based on the most popular formmail script from Matt's Script Archive. It seems to be the best with the most functions and less time to set up.

ONE OF YOU GENIOUSES PLEASE HELP. Thanks :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Based on coding knowledge of PHP mailing using the mail() function emails are generally just sent using the SMTP protocol so it is most likely that there some messages simply being rejected by the SMTP server of your web host.

If you are running these aps on localhost then have you tried emailing the same recipients from any other mail program such as MS Outlook just to check if it is an SMTP issue or a coding issue?
amdorsey
Forum Newbie
Posts: 19
Joined: Mon Dec 06, 2004 2:46 pm

Post by amdorsey »

Yes. I can email all of these customers fine via Outlook, Outlook Express, etc.
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

MAybe you should try cc:ing yourself for a while to make sure that what you think is getting sent is actually getting sent. Get a hotmail account or something.
amdorsey
Forum Newbie
Posts: 19
Joined: Mon Dec 06, 2004 2:46 pm

Post by amdorsey »

done that. I always get the emails fine to my Pop3, hotmail, and comcast addresses. :(

Oh Well. Somewhere in the worls someone is having the smae problem as me. I must keep looking. Its driving me insane...
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

Have you checked that your IP (perferably the one associate with your mail) isn't on a spam blocklist. Like at ...

http://www.spamhaus.org/lookup.lasso
http://www.mail-abuse.com/lookup.html
http://www.spamcop.net/bl.shtml

Usually you would know this right away by the bounce email unless their being /dev/nul 'ed for some reason.

Just a thought ...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This is a PHP problem. The General Board is not for PHP problems.


Moved to PHP - Code.
Post Reply