Below is my code to send email using aws ses using nodejs.
ses.sendEmail( {
Source: sails.config.myconf.aws.emailFrom,
Destination: { ToAddresses: [useObj.email]},
Message: {
Subject:{
Data: subject
},
Body: {
Html: {
Data: template,
}
}
}
});
It will work see attached image below
but it show contact as name. Instead of this i want to add client name there.