@Suchitra try adding an 's' to attachment: attachments: [{
I ran into the same thing with just text showing up and checked the nodemailer documentation on attachements. That little mispelling fix should do the trick.
Also, if you want to learn how to do this with a React frontend and Google OAuth2, check out my nodemailer article as well :)
@Suchitra try adding an 's' to attachment:
attachments: [{
I ran into the same thing with just text showing up and checked the nodemailer documentation on attachements. That little mispelling fix should do the trick.
Also, if you want to learn how to do this with a React frontend and Google OAuth2, check out my nodemailer article as well :)
Thank you so much
It's working fine now:)