Parse partners with Mailgun for simple integration!

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.

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.

comments powered by Disqus

Mailgun Get posts by email

Like what you're reading? Get these posts delivered to your inbox.

No spam, ever.