Hi,

I am trying to perform a reply all to an email message that I have passed into 
my python script.

import win32com.client
 
__OUTLOOK = win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI")
__MSG = __OUTLOOK.OpenSharedItem(sys.argv[1])
 
emailBody = __MSG.Body
print(emailBody)
responseToEmail = “Hi, thanks for your email, I have received it”
 
#what I would like to do now is do a “Reply all” with my reponse being 
“ResponseToEmail”

Any ideas if this is possible?
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to