Nishant Kumar
Nishant Kumar

Reputation: 1

send email using AWS SES smtp with meteor

I am trying out to send email using aws ses using meteor. My code at server end is:

import { Meteor } from 'meteor/meteor';
if(Meteor.isServer) {
Meteor.startup(function() {  
process.env.MAIL_URL="smtp://username:[email protected]:465"; 
Accounts.emailTemplates.from='[email protected]';
Accounts.emailTemplates.sitename='abc'; 
Accounts.emailTemplates.resetPassword.subject = function (user) {   
return "Password reset email" ;
};  
});
}

below is the error:

enter image description here

I have verified the sender email id.

Upvotes: 0

Views: 170

Answers (0)

Related Questions