PHP Mail = Spam?

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
suicide
Forum Newbie
Posts: 19
Joined: Wed Jun 14, 2006 10:32 am

PHP Mail = Spam?

Post by suicide »

I have an issue where mail sent out of an old script I use get flaged as spam on a few bigger ISPs (Verizon)...

Its pretty straight forward

Code: Select all

mail($sEmail,$mail_subject,$message,"From: ".SUPPORT_EMAIL." \nContent-Type: text/".($iMailFmt ? 'plain' : 'html')."; X-Mailer Version 6.9");
was curious if there are an headers I need to add to make it valid or if that X-Mailer is invalid (don't knwo what it is).

My host isnt on any blacklist or anything (was first thing I checked)..

any ideas/additions?

Thank you for yoru time!
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

You could use this - viewtopic.php?t=48055
suicide
Forum Newbie
Posts: 19
Joined: Wed Jun 14, 2006 10:32 am

Post by suicide »

thats awesome, i was loking at other scripts but could not figure out which one to try... but if Swift has your THUMBS UP, then its the one I want to use :)

Thanks Pimp!
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

suicide wrote:thats awesome, i was loking at other scripts but could not figure out which one to try... but if Swift has your THUMBS UP, then its the one I want to use :)

Thanks Pimp!
It has my two thumbs up, and a foot. :wink:
Post Reply