Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The simple way to fix it is <strong>don't do that!</strong> </p> <p>Unfortunately the real solution to improving email deliverability is much more involved.</p> <p><strong>SPF</strong> is "Sender Policy Framework" which basically allows an email host to explicitly specify which servers are authorized to send email <em>from</em> an address at the given domain. This is becoming increasingly common due to from address spoofing by spam and phishing attacks. If you are attempting to send <em>from</em> a user's email address with an SPF your best case these days is email in the spam with a more likely result being a big warning on the (spam flagged) email or getting silently dropped altogether. </p> <p><strong>rDNS</strong> is generally used to show a valid relationship between the ip and the domain of the email sender. (if you are sending <em>from</em> a user then you <em>don't have a valid relationship.</em>)</p> <p>Both of these things will indicate that your emails are not trustworthy because you are claiming to be sending from a particular domain when you aren't. </p> <p>Don't send "from" those users, use the <code>on-behalf-of</code> header and/or the <code>reply-to</code> header. </p> <p>That alone won't keep you out of the spam folder though. Beyond using email headers correctly, What you need to do to ensure deliverability is the following:</p> <ol> <li><p>Send <em>from</em> an address in your domain. Typically this is a non-monitored account either configured to drop all incoming messages or parse them for bounces and update your system accordingly.</p></li> <li><p>Configure SPF, DKIM and possibly Domainkeys on your email. This will increase the likelihood that your email won't be flagged as spam. </p></li> <li><p>Be <a href="http://business.ftc.gov/documents/bus61-can-spam-act-compliance-guide-business" rel="nofollow">CAN-SPAM compliant</a>. This will both improve your spam score, and by making it easy for people to opt-out, you get less "report as spam flags" which will help keep you from getting blacklisted.</p></li> <li><p>Monitor your IP address in spam blacklists as it will happen anyway. Work with individual providers to get removed. One popular place to monitor your blacklist status is <a href="http://www.mxtoolbox.com" rel="nofollow">mxtoolbox.com</a></p></li> <li><p>Be patient. Many big email hosting companies are very aggressive about spam. Often they employ a "guilt until proven innocent" approach meaning people have to take your email out of spam an unspecified number of times before you go from 'greylisted' to 'whitelisted.' Some hosts have a procedure you can follow to get whitelisted but often it's a case by case basis. </p></li> </ol> <p>The alternative is to use a relay service that manages 1-5 for you, but at a cost. Personally I have a dedicated IP solution with <a href="http://www.sendgrid.com" rel="nofollow">sendgrid.com</a> because managing email these days is a real hassle. I have no relationship with sendgrid other than being a customer. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload