email() best way to use, without being seen as junk mail

Discussion in 'PHP' started by designdev, Apr 7, 2009.

  1. #1
    Hi

    I run a website where members need to signup for an account, part of this process is to send a welcome email to them, with a link also to confirm there email address etc.

    I also send out news updates too from time to time.

    My problem is that is seem more often than not, the emails end up in there junk folder which can be a royal pain in the bum.

    I'm looking for anyone who can provide or recomend a good way to send emails and for them to land in the persons actual inbox for a chance. :eek:
     
    designdev, Apr 7, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    There's a few things that will greatly help a email getting delivered. Start with these and see if it helps.

    First, make sure the IP address being used has reverse DNS pointing to the domain the email is being sent from. If you cant do that, get some sort of reverse dns entry for the IP.

    Make sure you are sending from an email address, and not root@ or nobody... Also, make the reply-to address the same as the sender.

    Make sure the domain has an spf record allowing the IP address that the emails are coming from.

    Make sure to use the proper HTML or TEXT encoding. Also, don't ever use HTML that wont properly validate. XMTML is not HTML as far as email servers are concerned, and is not backwards compatible.

    Almost all of this is DNS related. You can use services like dnsstuff.com to check the records for the domain. Reverse DNS and SPF records usually fix non-delivery problems, as long as the content isn't related to common spam.
     
    jestep, Apr 7, 2009 IP