Link to home
Start Free TrialLog in
Avatar of KCTeam
KCTeam

asked on

Function mail() in PHP versus Hotmail Junk Mail Box

Hello,
I develop a function of sending of emails in PHP (on a dedibox, OS =  Fedora core5) by using the function mail($email_address, $subject, $message, $header).
PROBLEM: The mails sent arrive in the junk mail box of hotmail between-others.

How to make so that the messages fall into the "reception box" from my recipients?

I sailed through many forums and I am partly persuaded that all depends on the fourth parameter of mail().
If you know the good configuration of the $header, or of the server, I thank you in advance.
Avatar of cpulse
cpulse

Does it even go to the junk folder? There are some specific headers you have to have to make it to hotmail.
I could tell you about the headers but this sounds more complicated.

Perhaps one good way is to test it against a server with spam assassin or something similar and see the reasons you get spam score. Then try to eliminate these reasons.
Avatar of KCTeam

ASKER

For the moment, i use only "simple email sending", with few text and an url link.
The idea you gave is pretty good cpulse, but spamassassin doesn't work as the Hotmail server.

What i need to know is "how configure my fourth parameter in the PHP function in the aim to send emails that won't be filter as spams by HOTMAIL ?" (it's a pretty difficult question)

ASKER CERTIFIED SOLUTION
Avatar of milanmk
milanmk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forgot to mention MSN Postmaster Guidelines at http://postmaster.msn.com/
Avatar of KCTeam

ASKER

With our team we solved the problem partly. Which poses problem it's that the mails we send to a member of voila.fr aren't throwed in its reception mail box.

I would like to know the criteria of voila.fr concerning the undesirable mails...or a solution to permit us to finish our job.

Thanks for help ;-)
Avatar of KCTeam

ASKER

Thanks for your answer