SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist Mr. Tech's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    562
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sending email from website - ensuring it gets through...

    It seems sometimes when I send emails from a website (I use PHPMailer http://phpmailer.sourceforge.net/), sometimes people don't get them.

    Is that a script error, a web hosting configuration error, a remote email configuration error?

    Is there anyway you can ensure or at least have a better chance of the emails getting through or is there nothing we can really do?

    How do you test this?

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Nothing you can really do.
    Have to at least make sure to tell your users to look in there junk box if its not there try white listing your address.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Evangelist Mr. Tech's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    562
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there anything you can do to make the emails look more legit?

    E.g. I'm not sure if this is true or not but using SMTP to send emails instead of mail()...

  4. #4
    SitePoint Wizard Hammer65's Avatar
    Join Date
    Nov 2004
    Location
    Lincoln Nebraska
    Posts
    1,161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It won't matter how you send it, if your message is running afoul of a spam filter. Some filters are locked down more than others. PHPMailer is a good choice but you may have to play around a bit with what to include in the mail outside of what the class includes by default.

    Sometimes it helps to have a name along with the from address. The return path, which by default is set to the from address, needs to be a genuine working address. Content is important too. You may have to take a look at messages that do make it through on a particular service, and try to determine how they differ to the content and headers of a message that wouldn't.

    Getting white listed by services like Hotmail is pretty expensive.

  5. #5
    SitePoint Guru MikeBigg's Avatar
    Join Date
    Jun 2004
    Location
    Reading, UK
    Posts
    970
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also, some mail services, yahoo for example, will start bouncing or bulk filtering emails if a certain number come into their servers in a short space of time. Slowing the sending can help.

    Mike


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •