02-09-2011, 03:52 PM
(This post was last modified: 02-09-2011, 03:59 PM by ksrikanth2k9.)
I think the following code clears your doubt.
The above code works for your second query also.
I think the following code clears your doubt.
I hope this is useful for your second query also..
Code:
set obj=createobject("outlook.Application")
set str=obj.createitem(0)
str.to="abc@gmail.com"
str.Subject="Qtp forums"
str.send
wait(5)
str.close
The above code works for your second query also.
I think the following code clears your doubt.
Code:
set obj=createobject("outlook.Application")
set str=obj.createitem(0)
str.to="abc@gmail.com"
str.Subject="Qtp forums"
str.send
wait(5)
str.close
I hope this is useful for your second query also..