![]() |
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
|
|||
|
|||
![]()
Hi,
I have a plain text plain a href=http://localhost:8080/Aatmani/adclick?adprintid=1224Learn how the Mandarin Oriental Hotel give 5-Star service with PI/a I want to show it in the HTML format. I used the following code mailItem.BodyFormat = Microsoft.Office.Interop.Outlook.OlBodyFormat.olFo rmatHTML; mailItem.Save(); But still I am not getting the result in the HTML format but only in the plain format. Can anyone help me? Thanks -- Nagaraj Tadipatri |
Ads |
#2
|
|||
|
|||
![]()
That's not valid HTML. For HTML you'd need to add quotes to the URL. Take a
look at some valid HTML to see how it looks. An example would be the URL "http://www.slovaktech.com", which would look like this in HTML: a href="http://www.slovaktech.com"http://www.slovaktech.com/a How are you adding that text? If you want HTML then after making sure the BodyFormat is HTML you need to add correct HTML to the HTMLBody property. -- 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 "Nagaraj" wrote in message ... Hi, I have a plain text plain a href=http://localhost:8080/Aatmani/adclick?adprintid=1224Learn how the Mandarin Oriental Hotel give 5-Star service with PI/a I want to show it in the HTML format. I used the following code mailItem.BodyFormat = Microsoft.Office.Interop.Outlook.OlBodyFormat.olFo rmatHTML; mailItem.Save(); But still I am not getting the result in the HTML format but only in the plain format. Can anyone help me? Thanks -- Nagaraj Tadipatri |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BodyFormat as Html or Rich Text | Steve*n | Add-ins for Outlook | 2 | March 2nd 09 06:36 PM |
Outlook 2003: How to read emails in HTML, Rich Text or Plain Text? | Spin[_2_] | Outlook - General Queries | 2 | December 24th 08 05:00 AM |
change reply to html vs plain text. option chosen is html | konagirl | Outlook - Installation | 2 | May 20th 08 01:58 AM |
Difference within HTML/Rich Text/Plain Text | vt003 | Outlook - General Queries | 1 | October 3rd 07 06:30 PM |
problem with rich text (HTML)/plain text | Jam Sr | Outlook Express | 2 | July 8th 06 12:50 AM |