- Customer Success
Zipbooks Switched From Mandrill To Mailgun Using Laravel
With Mandrill announcing that the Heroku add-on is no longer going to be available after April 25th, many developers are looking for an alternative solution that they can continue using from the Heroku Marketplace.
Mailgun offers several different packaged add-ons that you can select from based on the volume of e-mail you send on a monthly basis. You can upgrade to a larger plan at any time or if you need something specific to your needs, a program can be custom tailored for you.
The free starter plan can be easily installed on your application by running the following Heroku CLI command from your application’s folder:
heroku addons:create mailgun:starter
The starter plan includes 400 messages per day and is perfect to get started with.
You can open the Mailgun dashboard by running the following command:
heroku addons:open mailgun
When Mailgun is provisioned, a sandbox domain is automatically configured that can be used for testing Mailgun without setting up a custom domain. The sandbox domain is limited to 300 messages a day and is not optimized for deliverability.
For production use, setting up a custom domain is the best option. In the Mailgun dashboard, click the Add Custom Domain button.
After setting up your domain, you’ll be given a set of DNS records that need to be added to your DNS provider before your domain can be used. Setting up these records enable SPF, DKIM, incoming messages, and message tracking.
Once the records are in place, you can wait for automatic validation to occur or click the Check DNS Records Now button to force an immediate check.
At this point, you’re ready to update your application to use the Mailgun addon. If you’re using a library that uses SMTP, you can update your application’s configuration to the following:
SMTP Hostname: smtp.mailgun.org
Port: 587
Username: See Default SMTP Username on Mailgun domain page
Password: See Default Password on your Mailgun domain page
If you’re using a Mandrill library, you will need to migrate to a Mailgun-specific library or a library that is SMTP compatible. We have code samples for most major languages.
Our team is available 24/7/365 to help make sure you have a successful transition to Mailgun. From the Mailgun dashboard, click the Support button to access our help center or create a support ticket.
Last updated on September 16, 2020
Zipbooks Switched From Mandrill To Mailgun Using Laravel
Migrating From Mandrill To Mailgun
Zipbooks Switched From Mandrill To Mailgun Using Laravel
Become an Email Pro With Our Templates API
How to Conduct a Comprehensive Email Deliverability Audit
Dark Mode for Email Survey: What Do Email Senders Think?
Email Accessibility Mistakes that Annoy Subscribers & How To Fix Them
What’s Cool About COIL
The Difference Between SMTP and API
The Basics of Email Dark Mode
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.