4
votes

I am using hosted exchange Microsoft Office 365 email and I have a Python script that sends email with smtplib. It is working very well. But there is one issue, how can I get the emails to show up in my Outlook Sent Items?

1
I'd be surprised if that was possible without enormous effort, but am looking forward to suggestions from other users.Thorsten Kranz
Here's a (somewhat confused) support forum thread on the subject: community.office365.com/en-us/forums/160/t/73713.aspx .codeape

1 Answers

2
votes

You can send a copy of that email to yourself, with some header that tag the email was sent by yourself, then get another script (using IMAP library maybe) to move the email to the Outlook Sent folder