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

html content of mail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 22nd 09, 09:28 AM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default html content of mail

If i mail contains embeded image and we open that mail in outlook addin then
embeded image does not display in body of mail It's in Attachments pane.
To display embeded image in mail body(not in attachments pane) which
property we need to set?


  #2  
Old May 22nd 09, 02:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default html content of mail

In general an embedded image will always be an attachment, unless it's a
direct URL link to an image file located somewhere. The HTML reference will
look something like this:

IMG src="cid:124260513@22052009-2198"

where that cid will match the PR_ATTACH_CONTENT_ID (0x3712001E or
"urn:schemas:mailheader:content-id") property value. The PR_ATTACH_DATA_BIN
property (0x37010102 or
"http://schemas.microsoft.com/mapi/proptag/0x37010102") will contain the
binary content of the image file.

In addition, to hide the attachment paperclip in the email the property
HideAttachments
("http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8514000B")
is set to true. That property tag in MAPI terms would be :
int tag = GetIDsFromNames("{00062008-0000-0000-C000-000000000046}", 0x8514)
| PT_BOOLEAN.

The HideAttachments property is set on the mail item, not on the attachment.

For direct links the HTML would look something like this:

img src="http://image.foobar.com/images/logo_200x91.gif" width="200"
height="91" alt="New Foobar" border="0"

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


"Ashish" wrote in message
...
If i mail contains embeded image and we open that mail in outlook addin
then embeded image does not display in body of mail It's in Attachments
pane.
To display embeded image in mail body(not in attachments pane) which
property we need to set?


 




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
HTML content not showing in emails Dwayne Outlook - General Queries 3 November 20th 08 04:24 PM
include the content of a html file directly into a message body silvana Outlook - General Queries 3 October 8th 08 09:51 AM
How to enable the smart tags on received emails(HTML content)? Brinda Outlook - Using Forms 8 October 18th 07 08:50 AM
Eingebundene Bilder in Outlook-HTML-Mail / embedded graphics in HTML Stefan Wirrer Outlook and VBA 0 August 23rd 06 01:26 PM
Paste HTML from a web page: either loose content, or loose format Alex Jarran Outlook - Calandaring 0 April 22nd 06 03:44 AM


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