Hi ,
I am using Microsoft outlook3 and It always shows the warning box
while I am using the Email Script in QTP.
How to avoid that?
Any help?
Thanks
Uma
09-20-2011, 02:28 PM (This post was last modified: 09-20-2011, 02:29 PM by Rohan.)
Hi,
if outlook doesn't work we have CDO message which will send the mail without help of outlook express.
Code:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "abcd"
objMessage.From = "abcd@xyz.com"
objMessage.To = "efgh@xyz.in"
objMessage.TextBody = "hi writ as much as u can."
objMessage.Send
copy it to QTP it works.
but it wont work for social mailing sites eg(gmail. yahoo.com, etc), u can use it for internal purpose.
Any ways try with the outlook express this solution is just an alternative.
09-23-2011, 04:01 AM (This post was last modified: 09-23-2011, 04:13 AM by Uma.)
Hi Rohan,
I just copied and I put it in to my QTP Script and it shows the
"SendUsage configuration is invalid",Could you please tell me where I am doing mistake?
Thank you
Uma
Hi Ram,
Sorry for late reply.
The outlook 2003 warning box screen shot is attached in the word file.
As you said,I was planning to work with outlook 2007/outlook 2000,but I asked to install outlook2010 (My OS is XP).
I am going to try it.
I want to avoid/Disable the warning box which is from outlook,because everytime manually I need to click yes button.
I got the warning dialog box window whenever QTP script is trying to access the Outlook email, currently i have to click yes button manually. could you please let me know if you have any idea to solve this issue.