Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Getting MailEnvelope of a Word document does not work (http://www.outlookbanter.com/outlook-vba/92131-getting-mailenvelope-word-document-does.html)

Jeroen July 1st 09 01:13 AM

Getting MailEnvelope of a Word document does not work
 
Hello,

We are making e-mails and the body of that e-mail is gonna be the content of
a word document. Sometimes getting the MailEnvelope of the Word document
fails.

The error just says that Get_MailEnvelope failed (interop c#).

Jeroen July 1st 09 09:45 AM

Getting MailEnvelope of a Word document does not work
 
I have a Word document which always crashes when trying to get the
MailEnvelope in case someone wants to take a look at the problem.


"Jeroen" wrote:

Hello,

We are making e-mails and the body of that e-mail is gonna be the content of
a word document. Sometimes getting the MailEnvelope of the Word document
fails.

The error just says that Get_MailEnvelope failed (interop c#).


Ken Slovak - [MVP - Outlook] July 1st 09 02:10 PM

Getting MailEnvelope of a Word document does not work
 
So just fall back to getting the email Body or HTMLBody in those cases. It
could be corrupted Word documents or just about anything else.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jeroen" wrote in message
...
Hello,

We are making e-mails and the body of that e-mail is gonna be the content
of
a word document. Sometimes getting the MailEnvelope of the Word document
fails.

The error just says that Get_MailEnvelope failed (interop c#).




All times are GMT +1. The time now is 03:39 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-2006 OutlookBanter.com