SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Addict maxy22's Avatar
    Join Date
    Dec 2004
    Location
    here
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Emails from site go to the junk/spam folder

    Hi
    Emails generated by my site scripts go to the junk/spam folder of gmail/yahoo etc

    I am using the Google Apps for email of my domain (means that I have pointed the MX records of my domain to Google) but the emails which are being generated from my site just use the server capabilities to generate the emails (means that the emails generated by script don't pass through Google email servers)

    I suspect that this might be causing problems with spam tagging ? and what can I do to get around this

  2. #2
    SitePoint Addict
    Join Date
    Nov 2008
    Location
    Peterborough, Ontario, Canada
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could be a couple of things. I send emails from scripts all the time and mine aren't sent to spam folders.

    1. Do you have a return address? If you're not sending any header information it'll likely get spotted as spam.

    2. Is it spammy? If it has a lot of spam keywords, or it's got 1x1pixel image (or similiar) or it just seems like spam it will get caught. (e.g. if you're trying to send out information about viagra you'll get hit as spam).

    3. Your server might be blacklisted -- eek! Which means someone else on your shared host was spamming the hell out of everyone and it got blacklisted (that's why hosting companies have VERY strict rules about spam).
    Have I helped you? You could help me.
    Like my business on facebook!
    Text message polls with real-time, live results.

  3. #3
    SitePoint Wizard SiberForum's Avatar
    Join Date
    Dec 2007
    Posts
    1,197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suspect that this might be causing problems with spam tagging ? and what can I do to get around this
    I suppose that you can ask your subscribers to add you to the list of the trusted subscribers or senders to avoid that

  4. #4
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i had this problem before, i fixed this problem by trying different email headers. The programs email servers use vary greatly, and each of these programs generates email headers in a slightly different way.
    In2net Network Inc. www.in2net.com : Providing Service Since 1996
    Quick Sales Response - info@in2net.com
    Virtual Private Servers : VPS Hosting from $9.95/mo
    30-Day MoneyBack Guarantee

  5. #5
    SitePoint Addict maxy22's Avatar
    Join Date
    Dec 2004
    Location
    here
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the mx records of my domain point to Google but the email which scripts are generating is not through Google SMTP, they are using sendmail of my host

    I just want to ask if that is the main reason behind marking of email as spam ? (the mx and the server which sent the mail dont math)

  6. #6
    SitePoint Member
    Join Date
    Mar 2009
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like its something to do with your headers, a little hard to pin point what exactly is the problem without seeing what the headers are.

    Also most email providers include gmail have a utility to get onto their domain-wide white list, though it can be hard to get onto it at times.
    Matlib Australian Web Hosting
    Hosting from AUD$5 per month. Domain names from AUD$19.99.

  7. #7
    SitePoint Wizard ~ServerPoint~'s Avatar
    Join Date
    Nov 2007
    Posts
    1,813
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The script is always send the information about the server that was sent from and in this situation that might be the reason. If you are on the dedicated server you can set not to include the server name in the sent email.
    ServerPoint.com - a true hosting company since 1998
    Web Hosting, colocation,
    dedicated servers, Virtual Private Server (VPS) hosting

  8. #8
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,547
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    If you're using PHP, then use swiftmailer instead of php's default MTA then you can connect to and send your outgoing emails via your existing gmail account, and it also avoids malformed headers. You're limited to 500 mails per day via this method which might be an issue, but as the emails come from gmails servers you'll do far better in avoiding your emails being junked.


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
  •