A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to determine if an attactment is hidden?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 8th 06, 02:50 PM posted to microsoft.public.outlook.program_vba
Karsten_Markmann
external usenet poster
 
Posts: 4
Default How to determine if an attactment is hidden?

Hi

I am saving attachents from incomming email. This works OK.
The problem is that it also saved hidden attachemnts like logo's etc.
I have found a similiar problem on this newsgroup, but I don't quite
manage to make it work.
I have startet coding, and made the stuff below. The "realAttc" boolean
variable always return true, no
matter what email I examine.
I have inserted the following values, but is this correct:?
PR_ATTACHMENT_HIDDEN =
sItem.GetIDsFromNames("{00062008-0000-0000-C000-000000000046}",
&H7FFE000B) Or PT_BOOLEAN

For me it seems like it just tests the whole email item, and not every
single attachment.?
As you can see I am bit confused, so any code snippet, or hint would be
appriciated.


Set sItem = CreateObject("Redemption.SafeMailItem")
If sItem Is Nothing Then
AttachedFiles = 999
Else
sItem.Item = myEmailItem
PR_ATTACHMENT_HIDDEN =
sItem.GetIDsFromNames("{00062008-0000-0000-C000-000000000046}",
&H7FFE000B) Or PT_BOOLEAN
realAttc = sItem.Fields(PR_ATTACHMENT_HIDDEN)
End If

Kind regards
Karsten Markmann

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to determine if cache mode on or off Steve Paul Outlook - Installation 3 October 3rd 06 10:58 PM
How to determine whether a message was inbound or outbound Andy Bowles Outlook and VBA 1 September 15th 06 07:04 AM
Is it possible to use 2 dtpicker controls to determine the same property? Oliver Gräser Outlook - Using Forms 4 June 13th 06 01:20 PM
Determine the file extension of this attachment? George Hester Outlook and VBA 2 April 24th 06 11:41 PM
Determine if a Folder contains a UserProperty Rog Add-ins for Outlook 3 April 10th 06 06:54 PM


All times are GMT +1. The time now is 06:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.