Thread
:
How do I attach a file to an email in my .vbs file
View Single Post
#
2
(
permalink
)
March 1st, 2005, 11:40 AM
pgtips
Friend of Wrox
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
never used it myself, but here's an example from MSDN (iMsg is a CDO.Message object):
Dim iBp
Set iBp = iMsg.AddAttachment("http://example.microsoft.com")
Set iBp = iMsg.AddAttachment("c:\myfiles\file.doc")
' ..
iMsg.Send
hth
Phil
pgtips
View Public Profile
Find all posts by pgtips