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

Accessing encrypted emails



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 28th 07, 07:53 AM posted to microsoft.public.outlook.program_vba
Pradeep
external usenet poster
 
Posts: 4
Default Accessing encrypted emails

I'm writing code to automate processing of emails in my mailbox (using COM
addin). But unfortunately when it comes to encrypted mails, it fails. I have
the IDispatch for the mail item but QueryInterface for _MailItemPtr fails.
And without _MailItemPtr i can not get things working on this item.
Is there anyway I can get this working.

I did some investigation using VB. If I've select an encrypted email in my
inbox and try simple:
application.ActiveExplorer.Selection.item(1).Displ ay
it returns run-time error, -2147217660 (80040f04) : Automation Error.

But if I double click and open that email once. This automation starts
working.
Things work fine in Outlook 2007, the problem is seen in Outlook2003.


Ads
 




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
Force Encrypted PST [email protected] Outlook - General Queries 3 April 30th 07 03:57 PM
accessing emails elbambino Outlook - General Queries 0 September 28th 06 11:33 PM
encrypted message could not be displayed TuffTurf Outlook Express 7 September 9th 06 08:22 PM
encrypted PST file Elijah Bass Outlook - General Queries 1 March 25th 06 12:04 AM
How to send encrypted Emails Longreach Outlook - General Queries 0 January 31st 06 10:30 AM


All times are GMT +1. The time now is 07:12 AM.


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.