Solved

mail with attachments is going to spam

Posted on 2013-12-03
5
466 Views
Last Modified: 2014-01-20
Hello,
         I have an issue with sending smtp mail. If I send mails with attachments, it is going to gmail's spam folder and mails without attachments are going to inbox. Is there any relation with reverse dns settings. Please give me a solution.
0
Comment
Question by:Jacobbaby
5 Comments
 
LVL 22

Expert Comment

by:Ivo Stoykov
Comment Utility
Hi

There is nothing with "dns settings". These are just anti-spam rules applied to each mail. It could be filtered because of the attachment or not - there is no way to find out. It might find it suspicious (anti-virus) or there might be some text in the message filtered.

The easiest way is receiver to add your email (sender) into contacts and then probably won't be filtered.

HTH

Ivo Stoykov
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
Comment Utility
What is the email script you use?  it also depends about your attachment content.
0
 

Author Comment

by:Jacobbaby
Comment Utility
Hello,

           Thanks for your reply. But I am sending images as attachments. It is working in many domains. I found this issue in one domain. The only difference that I noticed with other domains is, its reverse dns is not set. Thats why I asked, is there any relation with reverse dns.
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
You have given a bad grade without explanation, so there is an administrative comment that needs your response.  Please see this question:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28253195.html

If you're sending automated email messages you can expect them to get deleted unless your recipient has whitelisted your sending address.  In 2002 before the advent of spam, any PHP script could send emails with attachments and they almost always went through.  As a result, lots of viruses were propagated through email attachments.  Today it's just the opposite -- automatically generated email is almost always unwanted.  Most recipient domains simply discard the messages.  If your message is making it into the spam bucket you're much farther along than most senders.

Reverse DNS may or may not be in play at the recipient domain.  It's not really the right tool to filter spam.  A better way is through the use of SPF records.

Some additional factors to consider... If your email is originating at GoDaddy, it will almost always be considered spam and discarded.  If your hosting company injects any kind of anti-spam header into the message, it will almost always be considered spam and discarded.  If your client has not whitelisted the sending address it will usually be considered spam and discarded.  Email is very hard to get right, and sending attachments in an automated fashion is a giant red flag.  A better way might be to store the attachments on your server and send a link in the email.  That has a much better chance of getting though.
0
 
LVL 3

Accepted Solution

by:
Computer Guy earned 500 total points
Comment Utility
I agree with SPF also add DKIM (Domain Key). Personally, I believe that you shouldn't have to whitelist a domain. If the domain is set up correctly, and is not a SPAM IP you should be good.

I have tested something similer with gmail before and it has gone into the SPAM or Junk folder.

Even after updating SPF and DKIM, I still noticed the email still went into the Junk folder with that specific account perhaps because when you test it, you do it several times and maybe doing that makes a pattern.

I would create another gmail account for testing.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now