DisplayName for Attachments

B

BritishJeff

Hello,

I have read that the DisplayName property of attachments in mailitem is
no longer available in Outlook XP+. Is this true, and if so, are there
any workarounds, or are we permanently stuck with attachments only
showing their filenames?

In case anyone is interested, or has a solution, my code looks
something like this:

newMailAttachments.Add Filename, olByValue, 1, "Display Name"

-OR-

newMailItem.Add Filename, olByValue, 1
newMailItem.Attachments.Item(1).DisplayName = "DisplayName"

-OR-

newMailItem.Attachments.Add Filename, olByValue, 1, "Display Name"

Thanks,

Jeff
 
J

Jeff

i know it is there, but it doesnt do anything. It neither changes the
dsiplay name of the attachment, nor generates any error. I am using it
in Access/Outlook 2003.
 
M

Michael Bauer

Am 14 Dec 2005 14:32:50 -0800 schrieb Jeff:

Not sure, but I think it´s a security feature: By renaming attachments it
would be very easy to hide malicious EXE files behind a *.txt file name.
 

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