Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Sending Email with PHP

After user signup I want to send out a mail but...



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

10+ Year Member


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)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

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)

10+ Year Member

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.


Featured Threads

Hot Threads This Week

Hot Threads This Month