XF 2.0 Emails going to spam/junk

owen1200003

New member
My forum isn't open yet, as I'm still setting up nodes, permissions, emails etc. I've run into a problem where the user's registration confirmation emails seem to be going to trash or spam on most email clients. Is there a way to combat this?
 

Brogan

XenForo moderator
Staff member
 

AndyB

Well-known member
To ensure emails are sent to your members, you will want to notify the most popular email providers using their bulk email notification. This will whitelist your forum domain to ensure emails go to your members.

AOL
https://postmaster.aol.com/trouble-ticket

Google
https://support.google.com/mail/contact/bulk_send

Microsoft (hotmail and msn.com)
https://support.microsoft.com/en-us...fsmsbl3&locale=en-us&ccsid=636361241664007719

Yahoo
http://help.yahoo.com/l/us/yahoo/mail/postmaster/bulkv2.html
 
Last edited:

Sim

Well-known member
Email services rely on a number of different signals to determine the likelihood that a message is spam or not.

One very important one is the "sending reputation" of the IP address where the emails originate from (ie where the SMTP request comes from).

If you are on shared hosting, the IP address you are sending email from will be shared amongst potentially hundreds of other users. If any of them are sending low quality (or even blatantly spam) emails, then the IP address you are sending from will have a bad reputation and many ESPs are likely to block your emails as spam.

There are two ways to combat this:
  1. make sure you are not using a shared IP address, or an IP address with a poor sending history
  2. use an Email Service Provider (SparkPost, SendGrid, AWS SES, etc), - although again, you can still have problems if the sending IP address they use is shared and other users are sending low quality emails
Some reading for you:
 

frankdavis

Member
Does using my Gmail as sender of my forum cause it to go to spam because it says coming from gmail but its coming directly from my server default settings for sending emails?
 

djbaxter

Well-known member
That's possible, although some email providers are going to send bulk emails to spam no matter what you do.

Male sure your server is set up for DKIM and SPF verification, and DMARC if you can. Then use the default PHP email to send mail.
 

LaGregance

New member
I take the liberty of pulling up the post because I've been struggling with this problem for two days and I've found a solution.
It's probably logical for most of you but since I don't know anything about SMTP servers, it took me a long time to understand.

So, many domain registrars allow you to create an email with your domain an provide a SMTP server access. So just use the SMTP of your registrar ;)

Maybe that can help.
 

Joe Kuhn

Active member
I take the liberty of pulling up the post because I've been struggling with this problem for two days and I've found a solution.
It's probably logical for most of you but since I don't know anything about SMTP servers, it took me a long time to understand.

So, many domain registrars allow you to create an email with your domain an provide a SMTP server access. So just use the SMTP of your registrar ;)

Maybe that can help.
Thanks. Will be looking into that to get rid of the junk routing I get no matter what source address I use. Have tried my personal gmail address as a source and the one I paid for w the same url as my forum. The first produces a big ugly security warning at the top of the email. The second goes right to the junk folder. I used my wife's address and signed her up as a test member. I have to get this fixed before I start telling people about my new forum.
 

Sim

Well-known member
You should be using an email address associated with your forum URL - if the links in the email differ from the sender / return path email address, it will be treated as more suspicious by spam filters.

Next you need to ensure that the IP address you are sending from has a good sending reputation. Most shared hosting providers have a terrible sending reputation because people do send spam or poorly managed emails from their servers.

DKIM and SPF will also help.

Sending email is really easy. Getting email delivered into inboxes reliably, takes quite a lot of effort.
 

LaGregance

New member
Thanks. Will be looking into that to get rid of the junk routing I get no matter what source address I use. Have tried my personal gmail address as a source and the one I paid for w the same url as my forum. The first produces a big ugly security warning at the top of the email. The second goes right to the junk folder. I used my wife's address and signed her up as a test member. I have to get this fixed before I start telling people about my new forum.
For the "security warning at the top of the email", I think using your registrar SMTP with SSL (in general port 465), username and password should be good.

I would like to add that it is not sufficient to use an address associated with your forum URL, you have to "register" this email.
 
Top