View Single Post
  #3  
Old January 26th 06, 05:19 PM posted to microsoft.public.outlook.program_vba
Outlook Dabbler
external usenet poster
 
Posts: 1
Default VB Macro fails on Digitally Signed Emails

Thanks Ken ! for replying back. I am using this Outlook VB code to load the
body of emails from our customers into our CRM application. Is there no way I
can get to the body of the digitally signed emails ? thanks..

regards,
Shiv Kotagal


"Ken Slovak - [MVP - Outlook]" wrote:

You cannot read signed messages from Body it will return an error. Check the
message class of the item and if it's a signed or encrypted message skip it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Outlook Dabbler" Outlook wrote in
message news
Hi All, my VB macro in Outlook fails while accessing the body of digitally
signed emails. The following line,

mystring = MailItem.Body

fails giving error pop-up saying "Run-time error '-1040171007 (c2004001)':
The operation failed"

Can somebody pl give me a clue how to get around this ? thanks a bunch !



Ads