You probably need to do make the changes in SmtpLibrary.pm
I have this starting at line 489 in my version (18.0.6) and it looks as if the MIME content is already there. It should be easy enough to generate a message_ID header and add it to the header string.
Comment