You can with the Microsoft Scripting Library - use the TextStream object from
the FileSystemObject:
Dim objFS, objTS
Set objFS = CreateObject("Scripting.FileSystemObject")
Set objTS = objFS.OpenTextFile(strStationeryFilePath, 1, False)
newMail.Body = objTS.ReadAll
objTS.Close

Signature
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard - http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
> Hi everyone!!
> Quick question on the above code. Can I pass a text file to the body item.
[quoted text clipped - 21 lines]
>
> Thx for all your help!!!
Patrick - 14 Sep 2005 20:31 GMT
Thx for the hlp Eric, this works greate.
> You can with the Microsoft Scripting Library - use the TextStream object from
> the FileSystemObject:
[quoted text clipped - 32 lines]
> >
> > Thx for all your help!!!