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 DiscussionsUnbinding a project suite from source controlSolvedJScript Runtime Error "Object doesn't support this property or method"Best way to handle Azure login using TestCompleteUnable to access Navigation menu component sub menusIs it possible to test editing a pdf form in a browser?