danaluContributor7 years agoPython - Send Email by OutLook 2010 failed when outlook is closed Hi , i want to use below code to send report by out look after test done. def send_to_mail(test_result): fmt = '%Y-%m-%d' report_time = time.strftime(fmt) outlook = Sys.OleObjec...Show More
AlexKarasCommunity Hero7 years agoHi, What code line fails with the mentioned 'Operation Failed' error?
danaluContributor to AlexKaras7 years agoHi Alex, fail at the last line when Mail.Send(), and interesting thing is, if i debug the code, it can send out successfully, only fail when i run the code.
Recent DiscussionsApplication url change managementDelphi Mainmenu items is not clickedTestComplete Chrome Host (32-bit) process not clearing up after running test
Related ContentWhy Isn't my Code Working? Opening Outlook in Python ScriptError accessing OutlookReading Outlook Email Body Text