0

I correctly send email messages with python exchangelib in this way:

   self.account = Account('myemail@domain.it', 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:myemail@domain.it' but:

   self.account = Account('label <myemail@domain.it>', credentials=self.credentials, autodiscover=True)

doesn't work. Any idea?

thanks

Elisa
  • 25
  • 3

1 Answers1

0

I don't think EWS supports customizing the label on the sender field. See https://github.com/ecederstrand/exchangelib/issues/544

Erik Cederstrand
  • 9,643
  • 8
  • 39
  • 63