send report via email - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: send report via email (/Thread-send-report-via-email) Pages:
1
2
|
send report via email - sia sharma - 07-27-2012 Dear All, is it possible to send the qtp generated report using email? i m converting the report into html format. now i wamt to send this report to my mail box. i m using Microsoft Outlook Express 6 for mailing purpose Thanks and Regards, shweta RE: send report via email - ssvali - 07-27-2012 Try this code Code: Set olapp = CreateObject("Outlook.Application") RE: send report via email - sia sharma - 07-27-2012 its giving error screenshot attached. RE: send report via email - ssvali - 07-30-2012 Please select ActiveX Addin in Addin Manager RE: send report via email - sia sharma - 07-30-2012 Active X is Already selected ... still giving error.... Screenshot attached RE: send report via email - ssvali - 07-30-2012 It is CreateObject("Outlook.Application") not "Outlook.Express" RE: send report via email - sia sharma - 07-30-2012 Screenshot attached RE: send report via email - ssvali - 07-30-2012 Not sure , y ur facing the error From my side, the code which i posted is perfectly working. Post ur complete script so that we can have a look at it RE: send report via email - sia sharma - 07-30-2012 'Email generation VB Script snipet. 'Pre requisite: MS Outlook apllication up running on the desktop Code: Dim ToAddress RE: send report via email - ssvali - 07-30-2012 Try this, best of luck Code: Dim ToAddress |