I correctly send email messages with python exchangelib in this way:
self.account = Account('[email protected]', credentials=self.credentials, autodiscover=True)
m = Message(account=self.account, folder=self.account.sent, subject=subject, body=body, to_recipients=to_recipients)
Now, I would like recipients to gets messages coming from 'label mailto:[email protected]' but:
self.account = Account('label <[email protected]>', credentials=self.credentials, autodiscover=True)
doesn't work. Any idea?
thanks
I don't think EWS supports customizing the label on the sender field. See https://github.com/ecederstrand/exchangelib/issues/544