Search
Syndication
Sponsors

How Do I Prevent Mails Sent Through Php Mail() From Going To Spam?

I am working on Linux OS. I am using PHP’s mail() funciton to send emails (sendmail process is running ). But all the mails are going to spam (in case of gmail). I have not checked for other mail clients. I have tried many tricks that I found on net but none is working. Please tell me about any sure shot trick.

Related posts:

  1. How To Get A Local Mail Server For Php Mail(); Function? I am trying to test some code locally and I...
  2. How Hard Is It To Run A Secure Linux Server, With Apache, Php, Mysql, And Mail Services? I will be getting my own dedicated server soon and...
  3. How To Send Mail With Attatchment In Different Formats Using Php? I want to send mail with attachment using php.’ But...
  4. Mail example in PHP <?php    $headers = "From:sender@yourmail.com\r\n";    $recipients = "recipient1@email.com,recipient2@email.com";   ...
  5. Sending an e-mail attachment Learn more about Sending an e-mail attachment by visiting our...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , , , ,

4 Responses to “How Do I Prevent Mails Sent Through Php Mail() From Going To Spam?”

  1. MOZ Says:

    Use sending mail through authentication - u need 2 class files here and a email account with host name.
    Details:http://forum.raptor.in/viewtopic.php?f=1…

    MOZhttp://beski.in

  2. Sean C Says:

    Hello,
    Comcast’s new policy is to block ALL mail from sites from which they have detected a certain amount of spam. The spam that is detected sometimes does not even originate on the blocked site, but rather is forwarded at the request of the end user. Please use the link below to complete a blocked provider request. http://www.comcastsupport.com/Forms/NET/…
    Hotmail flags a domain as spam if multiple senders have flagged it as so. They have a troubleshooting page that must be read and checked off to resolve with them.http://postmaster.live.com/Troubleshooti…
    These are two main domains that block email as spam very easily. Check your IP for blacklists, and this should point you in the right direction. Good Luck!
    Sean Colicchio
    Server Engineer
    Host My Sitehttp://www.hostmysite.com/?utm_source=bb

  3. Ryan B Says:

    Hello,
    This most likely has more to do with your mail server’s IP address than anything else.
    Step you can take:
    1. Ensure that the mail server’s IP address has a valid reverse DNS record setup.
    2. The mail server’s hostname should match this reverse DNS entry.
    3. Setup an SPF record for domain from which you are sending the mail. (www.openspf.org)
    You will most likely need to contact your web host to perform the above steps.
    The larger email hosts use their own factors to determine whether email goes to the junk folder. Many will use IP reputation - that is the more good mail that comes from an IP, the more reputable, and the greater the odds of ending up in the inbox.
    Good Luck!
    Ryan Bradley
    Junior Server Engineer
    HostMySite.comhttp://hostmysite.com/?utm_source=bb

  4. just "JR" Says:

    php recommends to use the PEAR functions:
    PEAR::mail
    PEAR::mail_mime
    for large amounts of mail.
    (They are usually available on LAMP systems)

Leave a Reply

Translate
Links

Tags