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
QTP Script to send email with an attachment through Outlook-VB Script to send email with an attachment from Outlook
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment