I have text body in nodemailer. I want to format text in email.
var mailOptions={
to : data.toAddress,
cc : data.ccAddress,
bcc : data.bccAddress,
subject : data.subject,
text : data.message
}
smtpTransport.sendMail(mailOptions, function(error, response){
if(error){
callback(null, error);
}else{
callback(response);
}
});
For eg; inculde bullet style, bold specific word.
But in documentation I am not finding specific section.
Kindly let me know if any one has any idea on this.
Hi. My name is John
. I think need to use html. But in that case all \n remove.. – Sawan Kumar Jun 07 '16 at 11:48' – SkyQ Jun 07 '16 at 12:11