homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Sending Email with PHP
After user signup I want to send out a mail but...

 1:53 pm on Dec 17, 2005 (gmt 0)


I'm about to launch a new site and before I put it live I decided to test out the new member email functionality to Gmail and hotmail.

The mail goes through to gmail no problem, not flagged as spam but with hotmail it is flagged as spam straight away and stuck in the trash.

Does anyone have any experience of sending the correct headers to avoid the message being "spammed".

Thanks in advance,



 3:49 pm on Dec 17, 2005 (gmt 0)

what headers are you setting now?

also the text in the email is a major factor in passing spam tests

I use this as a reference


 12:20 am on Dec 18, 2005 (gmt 0)

Use the "-f" parameter in the mail function to set to a valid return address (preferably match this with the From: Header)
Also, make sure reverse DNS is working (dnsstuff.com)

Experiment with different titles, too.

I still get unfiltered mails in Hotmail with titles like "buy cheap vi@gra" and other nonesense, which makes a mockery of their whole spam filtering system anyway.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved