First - I use the exchangelib
package to connect to EWS
exchange.
I will create a reply to the email as follows:
msg = acc.inbox.all().order_by('-datetime_received')[-1]
mgs.reply_all("Re: Subject", "body of email")
But the response created this way doesn't have the mime_content option, which I need to be able to save the email as .eml
or .msg
.
The msg
variable has mime_content
.
Is there a way to create an email reply with mime_content
?
Thanks a lot!