Why use Mailgun? How to fix the outbound email issue when using WordPress forms.

As some of you may be aware and others may not, due to the
The way that servers work, it can be difficult to get website servers to send data.
emails sent out to other email addresses.

The simple version of this is that hosting servers are not designed to be email servers, and although hosting servers can send emails, it is not best practise to do so. This is why we use Office 365 and some other companies use hosted Gmail or other Exchange providers, with other options also being available. You may also be aware of other email marketing tools such as Mailchimp, Campaign Monitor, and others; they work in a similar way. They do not host emails; instead, they simply send emails outbound.

In many instances, there is a need for websites to send data.
Emails, such as forms or product purchases, this is where third-party solutions
such as MailGun and SendGrid come into play. They are more akin to Mailchimp.
than Office 365 / Gmail, as they are similar in the way that they are meant to be.
for sending email outbound. The difference is that the intention is that the email
Generated on the website is routed through Mailgun and sent outbound, appearing.
To come from an email address associated with the website (sort of like
Mailchimp etc.

In the event that we host a website, including our own or a website hosted for a client, we ensure that we use Mailgun.

Here is our simple guide to setting up Mailgun:

Add the domain to the Mailgun account. Ensure that the Post SMTP plugin is added to WordPress. Add the API keys to the plugin settings within WordPress. Ensure that the email is set as [email protected] (replacing the insert website text). Check the DNS records and ensure that they are all correct and verified. Conduct a test on the plugin and check that it has gone through in the Mailgun logs.