![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I have a COM Addin that adds a corporate header & footer to all outgoing
external emails. I noticed that if you email a PDF from within IE, when the COM Addin kicks off (before ANY changes are made), the .Body property is blank. The .HTMLBody property shows this: "!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" HTML HEAD META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0" TITLE/TITLE /HEAD BODY !-- Converted from text/plain format -- /BODY /HTML" I can't find the "real" body of the message. If you email a PDF any other way (right-click from desktop, etc..) the body shows up (via the ..HTMLBody property). All other attachments seem to be fine. Only PDFs emailed this particular way trigger the bug. What's weird is that if I exit the COM Addin without making changes, the body shows back up. That tells me it's somewhere in that message, but I just can't find it. Ideas??? |
#2
|
|||
|
|||
![]()
You'd have to show the code you're using.
-- 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 "Stephen Corey" " wrote in message ... I have a COM Addin that adds a corporate header & footer to all outgoing external emails. I noticed that if you email a PDF from within IE, when the COM Addin kicks off (before ANY changes are made), the .Body property is blank. The .HTMLBody property shows this: "!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" HTML HEAD META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0" TITLE/TITLE /HEAD BODY !-- Converted from text/plain format -- /BODY /HTML" I can't find the "real" body of the message. If you email a PDF any other way (right-click from desktop, etc..) the body shows up (via the .HTMLBody property). All other attachments seem to be fine. Only PDFs emailed this particular way trigger the bug. What's weird is that if I exit the COM Addin without making changes, the body shows back up. That tells me it's somewhere in that message, but I just can't find it. Ideas??? |
#3
|
|||
|
|||
![]()
Ken Slovak - [MVP - Outlook] wrote:
You'd have to show the code you're using. I can create a new addin, and in the ItemSend event, have just this line: MsgBox(item.HTMLBody) That's the point I'm trying to make. The Outlook.MailItem that Outlook passes to ItemSend already has the body hidden. |
#4
|
|||
|
|||
![]()
Do you see anything if you save the item?
-- 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 "Stephen Corey" " wrote in message ... Ken Slovak - [MVP - Outlook] wrote: You'd have to show the code you're using. I can create a new addin, and in the ItemSend event, have just this line: MsgBox(item.HTMLBody) That's the point I'm trying to make. The Outlook.MailItem that Outlook passes to ItemSend already has the body hidden. |
#5
|
|||
|
|||
![]()
Ken Slovak - [MVP - Outlook] wrote:
Do you see anything if you save the item? If I call Save() on the MailItem, nothing happens. |
#6
|
|||
|
|||
![]()
I'm out of ideas, it must be something odd with the IE interface or PDF's in
general. -- 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 "Stephen Corey" " wrote in message ... Ken Slovak - [MVP - Outlook] wrote: Do you see anything if you save the item? If I call Save() on the MailItem, nothing happens. |
#7
|
|||
|
|||
![]()
Ken Slovak - [MVP - Outlook] wrote:
You'd have to show the code you're using. I can create a new addin, and in the ItemSend event, have just this line: MsgBox(item.HTMLBody) That's the point I'm trying to make. The Outlook.MailItem that Outlook passes to ItemSend already has the body hidden. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
hidden pictures in email (Outlook2002) | erik | Outlook - General Queries | 1 | May 28th 06 02:31 AM |
Hidden messages in outlook | Paul | Outlook - General Queries | 3 | May 12th 06 08:24 PM |
Hidden reminders? | andersmi | Outlook - Calandaring | 5 | March 20th 06 08:15 PM |
How to create a hidden message in a folder | Davide | Outlook - General Queries | 4 | February 1st 06 04:38 PM |
Outlook Form - Hidden Label | [email protected] | Outlook - General Queries | 1 | January 17th 06 05:36 PM |