Parse partners with Mailgun for simple integration!

Written by Mailgun Team

Categories: What's New

1 minute read time

Good news everyone!

Parse, the awesome mobile application development platform, is launching easy integration with Mailgun via their new Cloud Modules feature. Parse is launching Cloud Modules as part of the Cloud Code product starting with Mailgun and Twilio Modules. This will make it even easier for both Parse and Mailgun customers to use Mailgun from within a Parse-powered app.

Parse Cloud

If you don’t already know about Parse, they provide a host of cloud services for mobile app developers. Parse and Mailgun both share a vision of making developers’ lives easier by dealing with infrastructure headaches so this is a partnership that makes sense for our joint audience. They have shown vision and leadership in the mobile development arena and we are proud to be partnering with them.

We are also really excited to help mobile developers who aren’t already using Mailgun realize the power of email automation.

Getting started is easy. First, simply add your Mailgun credentials.

var mailgun = require('mailgun');
mailgun.initialize('myDomainName', 'myAPIKey');

Then you can easily send an email from Mailgun within your Parse app.

mailgun.sendEmail({
    to: "email@example.com",
    from: "Mailgun@CloudCode.com",
    subject: "Hello from Cloud Code!",
    text: "Using Parse and Mailgun is great!"
}, {
    success: function(httpResponse) {
        console.log(httpResponse);
        response.success("Email sent!");
    },
    error: function(httpResponse) {
       console.error(httpResponse);
       response.error("Uh oh, something went wrong");
    }
});

For more information, head on over to the Mailgun Cloud Module documentation here.

Modified on: March 13, 2019

Stay up-to-date with our blog & new email resources

We'll let you know when we add new email resources and blog posts. We promise not to spam you.