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 DiscussionsI'm not able to handle cookie pop up with test complete using java script,I'm using windows machine.Unable to install upgrade of TestComplete as previous installation not finished.If statement
Related ContentWhy Isn't my Code Working? Opening Outlook in Python ScriptError accessing OutlookReading Outlook Email Body Text