fastapi-mail
fastapi-mail copied to clipboard
PASS Message-ID Header
I can pass the Message-ID header when sending in the send_message method, but the problem is that it is overwritten in the __prepare_message method when initializing the MailMsg object. I would like it so that if the Message-ID parameter is passed in the headers, it is not overwritten.
https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.setitem
https://github.com/sabuhish/fastapi-mail/pull/294