[python-win32] Pywin32 outlook email organizer

2018-01-31 Thread Samantha Mait
Hello, I am reaching out as I am trying to use the pywin32 package for python 2.7 to automate sending an outlook calendar invite. The package is awesome and is able to do everything I would like except for one piece. I am trying to send the email from a separate email address. Is there any way

Re: [python-win32] Pywin32 outlook email organizer

2018-01-31 Thread Tim Roberts
Samantha Mait wrote: > >   > > I am reaching out as I am trying to use the pywin32 package for python > 2.7 to automate sending an outlook calendar invite. The package is > awesome and is able to do everything I would like except for one > piece. I am trying to send the email from a separate email

Re: [python-win32] Pywin32 outlook email organizer

2018-01-31 Thread Todd Fiske
In an Exchange environment (Office 365), I have to give myself SendAs permission (or Full Access) for Outlook to allow this. The code to set the field is: msg = ol.CreateItemFromTemplate(templateFile, folder) ... msg.SentOnBehalfOfName = "[email protected]" Todd On Wed, Jan 31, 2

Re: [python-win32] Pywin32 outlook email organizer

2018-01-31 Thread Joni Orponen
On Wed, Jan 31, 2018 at 5:50 PM, Samantha Mait wrote: > I am reaching out as I am trying to use the pywin32 package for python 2.7 > to automate sending an outlook calendar invite. The package is awesome and > is able to do everything I would like except for one piece. I am trying to > send the e