nodemailer-promise | Using node mailer using in Promise way | Email library
kandi X-RAY | nodemailer-promise Summary
kandi X-RAY | nodemailer-promise Summary
NOTE: Using your Gmail account to send an email may not work directly, for security reasons you may need to configure something, refer [
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nodemailer-promise
nodemailer-promise Key Features
nodemailer-promise Examples and Code Snippets
Community Discussions
Trending Discussions on nodemailer-promise
QUESTION
So, I need to make an endpoint in REST which will send Email List, Email Subject & Email Body (in HTML).
Then I need to send the emails to all of the specified.
The code that i wrote is working fine. But I need to get the Success or Error for each mail sent.
Since I know Node is asynchronous, we have to use promise.
Thus I used nodemailer-promise to do this. even this is working fine, but I still can't get the infos for each mail sent.
...ANSWER
Answered 2019-May-13 at 09:44So, I figured out a way to achieve what I was trying using Promise.
The following code is responsible for the output I wanted.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nodemailer-promise
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page