Jump to content

Recommended Posts

Hi

 

especially in Hotmail. I know i can use SMTP but its more coding lol!

 

here are my headers:

 

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type:text/html\n";
$headers .= "From: testperson@testdomain.com\n";
$paras = "-ftestperson@testdomain.com\n";

Link to comment
https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/
Share on other sites

You may never be able to solve the answer. From what I have found out is that most of those services, like Hotmail Yahoo etc filter any email where the domain it is being sent from does not have a mail record. I would check via a free online service to see if your domain IP shows as having a mail server. If it does not, you may want to contact your host for a way to remediate that.

 

But also adding more thorough headers can solve the problem as well. I would take a look at some of the headers found at mail and maybe add more in there to help "prove" it is not spam.

 

Me, I stopped using my server's mail service and instead use GMail hosted with 3-4 accounts that I use to send mail from as GMail allows for 500 emails a day per account on their Hosted side. I rarely send 500, but just incase of a huge mail day I have the backups to go to.

 

Hope that helps.

You may want to look at the actual MTA also.  For instance, a default sendmail installation will stamp every outbound header with "Reply-to: machine_cname@machine_ipaddress" and most mail servers will not accept mail that has an invalid reply-to

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.