Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Microsoftoutlook 2003 Email from QTP Script waring box problem
#4
Not Solved
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.

Rohan
Reply


Messages In This Thread
RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - by Rohan - 09-20-2011, 02:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Extracting Email Body from Outlook waseem.khan.91 0 2,189 03-04-2019, 02:53 PM
Last Post: waseem.khan.91
  Extracting Email Body from Outlook waseem.khan.91 0 1,206 03-01-2019, 02:51 PM
Last Post: waseem.khan.91
  Find the email using subject with the help of vb script Raheem Shaik 0 1,707 12-12-2018, 02:57 PM
Last Post: Raheem Shaik
  Cannot attach the text file to email arpan 2 3,436 07-19-2013, 12:13 AM
Last Post: arpan
  Unable to send an email from Outlook which is already opened as draft attiliv 0 2,242 03-24-2013, 11:14 AM
Last Post: attiliv

Forum Jump:


Users browsing this thread: 1 Guest(s)