Skip to content

Commit

Permalink
Update mailjet.js (#125)
Browse files Browse the repository at this point in the history
* Update mailjet.js

configuring this with the nodemailer   {service: "mailjet"} sets the port to 587, which is blocked by the google.  This setup configuration works.
  • Loading branch information
CRoed authored and jmdobry committed Jun 14, 2016
1 parent 6bb9839 commit a496c56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion computeengine/mailjet.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ var mailer = require('nodemailer');
var smtp = require('nodemailer-smtp-transport');

var transport = mailer.createTransport(smtp({
service: 'Mailjet',
host: 'in.mailjet.com',
port: 2525,
auth: {
user: process.env.MAILJET_API_KEY || '<your-mailjet-api-key',
pass: process.env.MAILJET_API_SECRET || '<your-mailjet-api-secret>'
Expand Down

0 comments on commit a496c56

Please sign in to comment.