Receive bounced emails using Nodemailer - node.js

I am new to the SMTP related concepts. I am currently developing a nodejs email client using Nodemailer. In which, I am unable to receive the bounce back emails (NDRs). My queries below,
To achieve this should I configure DSN or envelope? I think I'm confusing myself with the dsn and envelope options.
How does nodemailer get the bounced email? Any separate configuration needed for this? Or any event listener?
Thanks in advance.

Related

Is there a possibility to categorize an email with Nodemailer?

I'm working on an web application with ReactJS and Nodejs and I use Nodemailer to send email.
All work fine but, my current issue is that I'm looking for a way to categorize the sent email so that recipients receive it in for example updates or Promotions category like on this screenshot.
Any help or link to help ?

Nodemailer with Tutanota Mail in Node.js

I recently found the e-mail provider Tutanota, which I found trustworthy and which scored especially high on privacy. However, I cannot manage to run Nodemailer with Tutanota. Does anyone know which host and port Tutanota uses?
For those who have encountered the same problem as me:
It is not possible to send E-Mails with nodemailer and Tutanota Mail.
I have now switched to Zoho Mail. Sending mails is much easier with Zoho Mail and above all it works.

Register sent mails

I'm using a web interface I've done to send mails.
These mails are sent using Nodemailer 2.6.4.
When I login to my roundcube webmail, I want the mails sent using this interface to be shown in "sent messages" section.
Is it possible to do it and how ?
Thank you in advance.
I did it simply with node-imap.
If someone wants an example, I could post it here.

Grab Email using node.js

I am new to node.js where in my requirement is to grab received email subject, attachment and email body using node.js I am not able to find any solutions. Can anyone suggest me what kind of approach I should take.
I've read that nodemailer only permits to send mail (if I m not wrong).
You should use a librarie that allow you to receive message, like using POP3 protcole (https://www.npmjs.com/search?q=pop3)

How to receive the emails using mailgun in node.js

In my application im using mailgun module to send and receive emails using node.js.I don't know how to receive the incoming emails.I created route to receive the incoming email.but its not working.
Mailgun is simply posting URL encoded form data.
Check out this discussion on receiving POST data in node.js: How do you extract POST data in Node.js?
Also it's worth noting that for whatever mail-header-related reasons, if you have mailgun set to forward something to a#b.com, then messages sent from a#b.com will not show up back in your inbox. Send mail from a different address. Note that mailgun can sometimes tell if you're using the Send As feature in gmail, and will know your main address.

Resources