vmime
vmime copied to clipboard
MDN and SMTP sender address
From RFC-3798: " The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be null (<>), specifying that no Delivery Status Notification messages or other messages indicating successful or unsuccessful delivery are to be sent in response to an MDN. "
Modify SMTPTransport::send() to send an empty "MAIL FROM <>" when sending a MDN (identifiable by top-level MIME content-type being "multipart/report" and report-type="disposition-notification".