Micro Focus QTP (UFT) Forums
Outlook automation issue - Report message in a shared mail box - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Outlook automation issue - Report message in a shared mail box (/Thread-Outlook-automation-issue-Report-message-in-a-shared-mail-box)



Outlook automation issue - Report message in a shared mail box - chsurya - 03-11-2011

Hi, I am trying to write a VBScript function to accomplish the following task using outlook automation model:

There is a shared mail box configured in my outlook. The inbox in this mail box recieves two types of messages - A normal mail message and a "Report" message. There is an option on the "Report" message called "Send Again" which is normally used to resent the message again. When I select this option, there is a link shown up in the message body and I need to capture this link into a URL string variable.

I see that there is a ReportItem interface (http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.reportitem_members.aspx) but not sure how to work with it. Please help me on how to go about this.