Move the attachment, but save the paperclip

P

Patrick Pirtle

After much searching and compiling of information, I finally
figured out how to loop through all of the subfolders below
the Outlook Inbox, move all of the attachments to folders
created using the sender's name, and add some text to each
email recording where the attachment went.

The last piece I'm missing, however, is how to leave the
"paperclip" icon showing that the email has (had?) an
attachment. Other, 3rd-party applications that move and
delete attachments seem able to do this, but don't seem to
run reliably on my system.

I've been searching the help files, newsgroup archives, and
using Google trying to locate the answer, but don't even
know what the correct name for this icon is, so my searches
haven't returned much useful info.

Thanks, in advance, for any help and suggestions you can
offer as to how this might be accomplished.
 
D

Dmitry Streblechenko

You can't do that - Outlook shows a paperclip icon if there are attachments.
There is a special named property that tells Outlook to hide the paperclip,
there is also a property that can be set on the attachment to make it
inaccessible from the UI, but there is no way to show the paperclip when
there are no attachments.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
P

Patrick Pirtle

Many thanks for your reply. So, do 3rd-party applications, like
Attachment Executive (AE), add some small attachment
and hide it from the UI in order to keep the paperclip? I
used AE for a number of years, and it kept the paperclip after
moving the attachment, but later versions of the software didn't
want to work on my machine (otherwise, I'd still be using it.)

If this is the way they keep the clip, can you give me some
insight into what property to set in order to hide the attachment?

Thanks, again, for your help.
 
D

Dmitry Streblechenko

I am not familiar with AE. Try to look at the message with OutlookSpy (click
IMessage), do you see any entries in the GetAttachmentTable tab?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
P

Patrick Pirtle

Hmmm. After waiting a couple of days, I noticed that my
response didn't show up in the newsgroup. After trying
to repost it, I realized that these newsgroups don't allow
posting of binaries, and I was trying to display an OutlookSpy
screenshot. So, I linked it here:

ftp://mka.com/outbox/outlookspy.jpg

I installed and ran OutlookSpy, and the GetAttachmentTable
had one row (as shown in the linked image.) It appears AE is
attaching a link(?) which, therefore, preserves the icon? If so,
can you give me any direction on how to do this?

Thanks, again, for all your help.



Dmitry said:
I am not familiar with AE. Try to look at the message with OutlookSpy
(click IMessage), do you see any entries in the GetAttachmentTable
tab?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
[snip]
 

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