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.closeThe 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.closeI hope this is useful for your second query also..

