>I changed these 2 lines
>
>.AttachmentName="c:\dbm\mistakes.txt"
>.AttachmentPathName="c:\dbm\mistakes.txt"
>
>and it worked.
Yes, the Name can be anything, it's the Path that counts...
>
>>I haven't sent more than one, maybe just a repeat of it will work...
>I couldn't get that to work - what help file holds the object model for outlook? I'd think you'd call a method to add more than 1 file. Does anyone know?
Try this:
oMessage.AttachmentIndex = 0 && for the first one
...then Name & Path code
oMessage.AttachmentIndex = 1 && for the next one
and so forth...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.