Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interview Question
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
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




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..
Reply


Messages In This Thread
Interview Question - by Sweetyrav - 01-28-2011, 09:35 PM
RE: Interview Question - by sreekanth chilam - 01-29-2011, 12:00 AM
RE: Interview Question - by Sweetyrav - 02-08-2011, 03:03 AM
RE: Interview Question - by sshukla12 - 01-05-2012, 05:48 PM
RE: Interview Question - by ksrikanth2k9 - 02-09-2011, 03:52 PM
RE: Interview Question - by shivu.hanu - 01-05-2012, 01:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interview Questions praveen.sharma 4 5,843 08-23-2022, 02:07 PM
Last Post: ahmad3029
  Interview Questions supputuri 12 13,347 08-23-2022, 11:45 AM
Last Post: ahmad3029
  Interview question nandha 0 1,856 03-28-2018, 03:32 PM
Last Post: nandha
  Few Interview Question asked in various Companies.. shailesh.2.singh@bt.com 1 3,419 08-08-2017, 09:24 AM
Last Post: mallika199317@gmail.com
  Interview Question raghavaqtp 1 3,754 12-20-2014, 09:55 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 3 Guest(s)