Forum Discussion

danalu's avatar
danalu
Contributor
6 years ago

Python - 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...