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 Ace Nassri committed Nov 21, 2022
1 parent b427bed commit 46b5887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compute/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 46b5887

Please sign in to comment.