Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email from qtp to Microsoft outlook through vb script
#13
Solved: 11 Years, 6 Months, 3 Weeks ago
Code:
Set objEmail=CreateObject("CDO.Message")
objEmail.Subject = "Simple plain text CDO example"
objEmail.From = "sirisha.guntur@ge.com"
objEmail.To = "sirisha.guntur@wisseninfotech.com"
objEmail.TextBody = "This is a test."

objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "amermsx.med.ge.com"
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
Reply


Messages In This Thread
RE: Email from qtp to Microsoft outlook through vb script - by surya_7mar - 07-29-2008, 05:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Send automatic email notification when test run started helmzshelmz 0 1,190 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  How to attach HTML file to Email Naresh 0 3,140 04-06-2015, 02:04 PM
Last Post: Naresh
  Help getting Sender Name from Email nidhitaneja 0 2,143 06-15-2014, 09:03 AM
Last Post: nidhitaneja
  Clicking a link in an outlook email using QTP kirti 0 5,713 06-15-2014, 01:25 AM
Last Post: kirti
  How do I save name and email address in QTP ? Shiv Y 1 2,579 12-19-2013, 07:24 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 4 Guest(s)