mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Update mail_utils.js
This commit is contained in:
@ -21,12 +21,10 @@ function sendConfirmationLink(destinationEmail, confirmationLink) {
|
||||
}
|
||||
|
||||
function sendMail(mailOptions) {
|
||||
// Send mail with defined transport object
|
||||
transporter.sendMail(mailOptions, (error, info) => {
|
||||
if (error) {
|
||||
return console.error(error);
|
||||
console.error(error);
|
||||
}
|
||||
console.log('Message sent: %s', info.messageId);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user