MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.59k stars 623 forks source link

How to include Delivery Status Notification (DSN) NOTIFY parameter when sending mail? #1983

Open mixtly87 opened 1 year ago

mixtly87 commented 1 year ago

I have a request to support "Delivery Status Notification" meaning to have sender receive an email about successful email delivery.

This is done by adding NOTIFY=SUCCESS,DELAY,FAILURE next to recepient address like:

RCPT TO:<mail@example.com> NOTIFY=SUCCESS,DELAY,FAILURE ORCPR=rfc822;mail@example.com

Is there a way this can be achieved with mailcore2?