danaluContributor6 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
danaluContributor to AlexKaras6 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.
Related ContentReading emails from SMTP server outlookWhy Isn't my Code Working? Opening Outlook in Python ScriptReading Outlook Email Body TextTestcomplete 14 with Outlook 2016problem with TestComplete and Outlook 2010
Recent DiscussionsDelay after pressing specific KeyBest way to handle Azure login using TestCompleteThe Recording tool does not record a click on a link and I do not know whyOCR recognition no longer recognizes newline between keywordsUnable to connect to the license server. Connection is not blocked on your side.