QTP Script to get count of number of junk emails in outlook application-VB Script to get count of number of junk emails in outlook application



QTP Script to get count of number of junk emails in outlook application


Set a = CreateObject("Outlook.Application")

Set b = a.GetNameSpace("MAPI")

Set c = b.GetDefaultFolder(23)

Msgbox(C.Items.Count)

No comments:

Related Posts Plugin for WordPress, Blogger...