|
-
Dec 27th, 2001, 10:01 PM
#1
Thread Starter
Addicted Member
Picture
Dear all,
I'd like to send an e-mail to an external party automatically.
But in my e-mail, I want to "Paste" a picture in the HTML body.
How to do it in VBScript?
How to detact CID if I want my picture points to my attachment?
Original location: <IMG src="file:///C:/Documents%20and%20Settings/admin/Desktop/a.JPG">
After sent location: <IMG src="cid:531034902@28122001-356C">
Currently I've a script but the picture keeps pointing to my local drive.
Set objOutlook = CreateObject("Outlook.Application")
Set objMail = objOutlook.CreateItem(0)
objMail.Recipients.Add("[email protected]")
objMail.Subject = "Test"
objMail.HTMLBody = = "<HTML><HEAD></HEAD><BODY><IMG src=""file:///C:/Documents%20and%20Settings/Keiko/Desktop/a.JPG""></BODY></HTML>" & chr(10)
objMail.Send
Thanks in advance
Keiko
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|