Email configuration issues with Mautic on Ubuntu VPS

I’m having trouble setting up email for my Mautic 5.2.1 installation on an Ubuntu VPS. I wanted to use Mailgun’s SMTP, but it looks like my VPS provider is blocking the SMTP ports. I’ve been looking for a way to use the Mailgun API instead, but I can’t find the option in the email settings panel.

Does anyone know how to get around this? I’m not sure if there’s a way to use Mailgun without SMTP or if there’s another email service that might work better with my setup. Any tips or suggestions would be really helpful!

I’m still pretty new to Mautic, so I’m not sure if I’m missing something obvious. I’ve tried looking through the documentation, but I couldn’t find anything specific to my situation. Has anyone else run into similar problems with email sending on a VPS?

hey there FlyingEagle, ran into similar issues. have u tried using sendgrid instead? they offer an api option that doesn’t require smtp ports. just gotta create an account, grab the api key, and plug it into mautic’s email settings. might be worth a shot if mailgun’s givin u trouble. good luck!

I faced a similar challenge with my Mautic setup. One solution worth exploring is Amazon SES (Simple Email Service). It offers both SMTP and API options, which could bypass your port blocking issue. To implement, you’d need to set up an AWS account, verify your domain, and obtain the necessary credentials. In Mautic, you can configure SES under the Email Settings using the API option. This approach has worked well for me, providing reliable email delivery without the SMTP hurdles. Just ensure you follow AWS’s guidelines to maintain a good sender reputation.

I’ve been through this exact headache with Mautic and VPS email restrictions. What worked for me was using Postmark. They have a solid API that integrates smoothly with Mautic without needing SMTP ports.

You’ll need to sign up for a Postmark account, generate an API token, and then in Mautic’s Email Settings, choose the API mailer option. There’s a bit of setup involved, but their documentation is clear, and the deliverability has been excellent.

One tip: make sure to warm up your email sending gradually to build a good reputation. Start with small batches and increase over time. This approach has kept my emails out of spam folders and improved overall engagement rates.

It took some trial and error, but this solution has been rock-solid for months now. Hope this helps you get past the SMTP blockade!