Skip to content

Commit

Permalink
Circle Ci Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wilson committed Nov 14, 2019
1 parent c2e34ff commit 7264c39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/email-sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ exports.sendMessage = async function (receipiants, subjectMessage, message) {
user: process.env.NODEMAILER_USERNAME,
// Email Pass (.env variables must be used refer to the Contribution.md)
pass: process.env.NODEMAILER_PASSWORD,
}
},
});

// verify connection configuration
transporter.verify(function (error, success) {
transporter.verify((error, success) => {
// If error then print to console
if (error) {
console.log(error);
// else print a ready message
} else {
console.log("Server is ready to take our messages");
} else if (success) {
console.log('Server is running properly');
}
});

Expand Down

0 comments on commit 7264c39

Please sign in to comment.