Skip to content

Commit a496c56

Browse files
CRoedjmdobry
CRoed
authored andcommitted
Update mailjet.js (GoogleCloudPlatform#125)
* 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.
1 parent 6bb9839 commit a496c56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: computeengine/mailjet.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ var mailer = require('nodemailer');
1818
var smtp = require('nodemailer-smtp-transport');
1919

2020
var transport = mailer.createTransport(smtp({
21-
service: 'Mailjet',
21+
host: 'in.mailjet.com',
22+
port: 2525,
2223
auth: {
2324
user: process.env.MAILJET_API_KEY || '<your-mailjet-api-key',
2425
pass: process.env.MAILJET_API_SECRET || '<your-mailjet-api-secret>'

0 commit comments

Comments
 (0)