I think I better understand now, but those some of those nsIMsgSendListener methods don't seem to be called by MessageSend.jsm or even the cpp version. I can try adding a callback to the interface so the MimeMessage can be modified elsewhere when needed.
Bug 1666005 Comment 41 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I think I better understand now, but some of those nsIMsgSendListener methods don't seem to be called by MessageSend.jsm or even the cpp version. I can try adding a callback to the interface so the MimeMessage can be modified elsewhere when needed.