Showing posts with label vb script outlook scripts. Show all posts
Showing posts with label vb script outlook scripts. Show all posts

QTP Script to send email with an attachment through Outlook-VB Script to send email with an attachment from Outlook

QTP Script to send email with an attachment from Outlook


dim a,b
set a=createobject("Outlook.Application")
set b=a.createitem(Mail)
b.to="abc@xyz.com"
b.subject="hello"
b.body="hiiiii"
b.attachments.add"C:\Documents and Settings\lakshmi\Desktop\qtp.txt"
b.send

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge