Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vZMA/web-api
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Jul 27, 2024
2 parents 4b40ff3 + 2c843d5 commit 52492e8
Show file tree
Hide file tree
Showing 4 changed files with 1,960 additions and 1,657 deletions.
22 changes: 17 additions & 5 deletions config/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,26 @@ import nodemailer from 'nodemailer';
import neh from 'nodemailer-express-handlebars';
import path from 'path';

//let aws=require("@aws-sdk/client-ses");
//let { defaultProvider } = require("@aws-sdk/credential-provider-node");

const __dirname = path.resolve();

//const ses= new aws.SES({
//apiVersion: "2012-10-17",
//region: "us-east-1",
//defaultProvider,
//});

const transport = nodemailer.createTransport({
host: "mail.zmaartcc.net",
port: 587,
secure: false,
ignoreTLS: true,
auth: {

// SES: {ses, aws},
// sendingRate: 1
host: "mail.zmaartcc.net",
port: 587,
secure: false,
ignoreTLS: true,
auth: {
user: '[email protected]',
pass: process.env.EMAIL_PASSWORD
},
Expand Down
2 changes: 1 addition & 1 deletion email/visitAccepted.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
Deputy Air Traffic Manager<br />
<a href="mailto:[email protected]">[email protected]</a><br />
<br />
<b>Alex Handsaker</b><br />
<b>Robby Parknavy</b><br />
Training Administrator<br />
<a href="mailto:[email protected]">[email protected]</a><br />
<br />
Expand Down
Loading

0 comments on commit 52492e8

Please sign in to comment.