Recently I have a problem on sending e-mail with PHP Mailer
function. Every mail which I sent from my script is straight way goes to spam folder on GMail, HotMail a
The good thing here is that u're emails are being received by ISP like gmail... which mean that u're code (phpMailer) is working fine, So is problem which make goes to junk is surely not the code but something else. IT's very hard for me to assist your ticket without some details like the generated header by ISPS your trying to reach its inbox folder, but i can give you some example that could affect u're emails: For example the content that u're using in u're emails (html,words,from,Subject), the reputation of your ips address and domain used to snd emails. Also you have to verify that the sending domain has an spf record that authorize your ips to send from.