<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><span></span></div><div dir="ltr">Hi,<div><br></div><div>I am trying to perform a reply all to an email message that I have passed into my python script.<br></div><div><br></div><div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">import win32com.client<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);"> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">__OUTLOOK = win32com.client.Dispatch(<b>"Outlook.Application"</b>).GetNamespace(<b>"MAPI"</b>)<br>__MSG = __OUTLOOK.OpenSharedItem(sys.argv[1])<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><o:p style="background-color: rgba(255, 255, 255, 0);"> </o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">emailBody = __MSG.Body<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;">print(emailBody)</p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">responseToEmail = “Hi, thanks for your email, I have received it”<o:p></o:p></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><o:p style="background-color: rgba(255, 255, 255, 0);"> </o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">#what I would like to do now is do a “Reply all” with my reponse being “ResponseToEmail”</span></p></div><div><br></div><div>Any ideas if this is possible?</div>
</div></body></html>