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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

HTMLBody is hidden when emailing a PDF from IE?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 3rd 06, 06:11 PM posted to microsoft.public.outlook.program_addins
Stephen Corey
external usenet poster
 
Posts: 4
Default HTMLBody is hidden when emailing a PDF from IE?

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  
Old June 3rd 06, 07:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default HTMLBody is hidden when emailing a PDF from IE?

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  
Old June 3rd 06, 10:14 PM posted to microsoft.public.outlook.program_addins
Stephen Corey
external usenet poster
 
Posts: 4
Default HTMLBody is hidden when emailing a PDF from IE?

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  
Old June 5th 06, 02:58 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default HTMLBody is hidden when emailing a PDF from IE?

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  
Old June 5th 06, 04:19 PM posted to microsoft.public.outlook.program_addins
Stephen Corey
external usenet poster
 
Posts: 4
Default HTMLBody is hidden when emailing a PDF from IE?

Ken Slovak - [MVP - Outlook] wrote:
Do you see anything if you save the item?


If I call Save() on the MailItem, nothing happens.
  #6  
Old June 6th 06, 03:27 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default HTMLBody is hidden when emailing a PDF from IE?

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  
Old June 3rd 06, 10:16 PM posted to microsoft.public.outlook.program_addins
Stephen Corey
external usenet poster
 
Posts: 4
Default HTMLBody is hidden when emailing a PDF from IE?

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
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
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


All times are GMT +1. The time now is 11:49 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.