'Display Name' Property for Attachments.Add Method

D

David C. Holley

I'm trying to build a sub in VBA to automatically create a mailItem.
Here is the line that attaches a previously created file...

newMailAttachments.Add file2, olByValue, 1, "Remittance Advice"

When the mailItem displays, the DisplayName appears to have been
ignored. The attachements are displayed as the file name. What exactly
does the DisplayName property refer to? Does it make a difference if I'm
sending the mailItem as text or HTML?

FYI - The VBA sub runs from within Access.

David H
 
M

Michael Bauer

Hi David,

in OL2k that works but was changed in OL XP or 2003 for security
reasons.
 
D

David C. Holley

Well you know it would have been (*$&(@*#& nice if MS had updated the
HELP file and object reference information!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top