Mailgun is one of the best transactional email API service for WordPress. In this article, you will learn how to use MailGun mailer with Fluent SMTP.
Hover over Settings on WordPress Admin and go to Fluent SMTP Dashboard. If this is the first time you are using Fluent SMTP and haven’t set up any connection yet, you will see the list of available Mailer, as we will work with MailGun, select MailGun from the list.
If you already have one or multiple SMTP driver setups and now you want to add MailGun also then go to the Settings Tab of Fluent SMTP and select Add New Connection. Now again all the available mailer will appear from where you need to select MailGun
Now we will need to configure the sender details. Fill up the “From Email” and “From Name”
From Email: The “From Email” should be the email you verified with MailGun. Check the box to set the return path to match the from. The Return Path indicates where non-delivery receipts or bounce messages are to be sent. If unchecked, bounce messages will be lost. With this enabled,you’ll be emailed using “From Email” if any messages bounce as a result of issues with the recipient’s email.
From Name: From name can be anything you want. You can use a combination of your name and company name. For example, I would choose something like “Jafor From WPManageNinja” where Jafor is the name and WPManageNinja is the company. The API key will be provided by MailGun.
Log into your MailGun account and click on Settings. Now select API Keys. Copy the Private API Key from here and paste it into the Fluent SMTP Private API Key filed of MailGun configuration.
Also, get a verified domain name from MailGun. To get a domain name visit here https://app.mailgun.com/app/domains Learn more about the Domain.
After getting the domain and private API key, go back to Fluent SMTP’s MailGun configuration panel and enter the domain and API key. Your MailGun Driver is ready to send emails from your website.
Go to the Email Test Tab and type your “From Email”. This should be the same “From Email” of your MailGun setup. If you get a success message as shown below then your MailGun SMTP setup is working.
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.