XF 2.1 How do you use XF with an email solution like MailGun, SendGrid, etc.?

I was a heavy user of Sparkpost, as I had an account that allowed 100K monthly emails before they changed the plan. But I was getting tons of timeout errors and they wouldn't address it. Now, I use AWS SES for all email sending. It's cheap, and it works great.

If you have a smaller forum, the providers listed in your post will probably work fine.
 
Okay so you just plug the mail service settings into the email settings in XF? I thought it was more involved based on suggestions I read here.

Like, why do users mention an add-on, and suggest the ability be added to core here? https://xenforo.com/community/threa...-mail-services-mandrill-amazon-ses-etc.110605
You can use the built in XF Automated Bounce email handler that works with AWS SES. For other SMTP services that have an API, and add-on would be needed if it's not able to forward bounces.
 
Thanks for all the info I get the gist now. XF's bounce handler is not as robust as others, but can be used if the service has bounce forwarding. If wanting to utilize the more robust features of the third party, add-on needed. Thanks
 
Main problem with bounce/suppression/unsubscribe with mailgun is that it updates their system so that these failed emails are not relayed by you again, but without API support, there is no way for XenForo to update the e-mails associated with those accounts as being in an unverified state. This requires web hooks or API access support directly with mailgun - not just SMTP relay. We have looked into it and there was one guy who got it to work under XF 1.5 and that was the [BD] Mails author. However he doesn't seem to want to make a 2.x version and even after annoying Mailgun many times it doesn't seem they know what I'm talking about. All mailgun would really have to do is let you send bounced mail to a bounce address and unsubscribe mail to an unsubscribe address... really.

Update: A legitimate feature request for XF really might be API/webhooks support for services like Mailgun. If you are using Google Compute Engine or anything like that you are pretty much stuck using MG.
 
Last edited:
This requires web hooks or API access support directly with mailgun
I'm looking at my mailgun dashboard now, and it's showing me an API. I'm new to this so researching the forums here. Are you refering to a mailgun API? Or some addon hook for xenforo that we need someone in the xenforo community to write? Or maybe there wasn't a mailgun API last year when you wrote the post above? Just a little confused...
 
Any help appreciated, with service/setup recommendations
I think I have now tried every word be of them and the biggest issue is with deliverability with the free services due to shares IPs getting blacklisted.

unless you want to pay much bigger money for dedicated IP (worth it for very large forums) the one I’ve finally settled on is Postmark

not free but not over expensive for a smaller size outfit.

it is shared up BUT they really seem good at keeping off blacklists because they only allow transactional emails, not mailing lists.
 
Back
Top Bottom