Product
This was initially posted on November 23, 2015.
The Mailgun WordPress plugin has always been a simple way to add outbound email support to your WordPress server simply, easily and affordably without the hassle or risks of running your own SMTP service. We’ve recently enhanced the plugin by adding support for Mailgun List subscription to your WordPress posts, pages, and widgets.
Mailgun supports all of the most popular languages including PHP, Ruby, Python, C#, and Java. If you’d like to learn more about Mailgun Lists and programming them, check out Open-source mailing list applet using the Mailgun PHP SDK.
In this tutorial, we’ll walk you through installing the plugin to your WordPress site, creating a list at the Mailgun control panel and then adding subscription forms to your site via widgets and shortcodes. Let’s get started.
There are several ways to install plugins with WordPress. You can search for them and install them directly or download it to your desktop and then upload it to your website.
Now, let’s configure the plugin to access your account and its lists.
Next, let’s add the subscription widget to our sidebar.
If you provide a comma-separated list of Mailgun list addresses, you can give the user an option to subscribe to multiple lists. I’ll walk you through an example below.
If you’d like to subscribe to one of our newsletters, please provide your email address below and select the list(s) you want to be on:
[mailgun id=”subscribers@simplestart.io,tech@newscloud.com,outreach@newscloud.com”]
And that’s it. Pretty simple, huh?
I hope you’ve enjoyed our visual guide to the new plugin features. Please let us know which features you’d like to see added to the plugin next. You can post them in the comments below or send us an email.
Many thanks to folks who helped out with the plugin development: Jeff Reifman at Lookahead Consulting and Josh Larosee at M35Dev.