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
danaluContributor6 years agoHi Just FYI. i add mail.display() before mail.send(), then mail send out successfully but cost some time. i think it is a temp solution for me.
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.