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

Plain text versus HTML email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 13th 09, 10:49 PM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default Plain text versus HTML email

2007 VSTO Addin, C#.

We have code that inserts a clickable image (png) signature logo on outgoing
emails.

When it is read by a non-HTML email client it doesn't display the image but
does display the clickable-link URL.

We'd rather this not happen since we already display the URL in a sentence
which we code as white text just below the image so that the plain text
readers will see it but the HTML ones won't.

Anyone know of a way we can suppress the link URL from displaying in
plain-text readers? I'm guessing it depends on the way the particular email
client converts HTML to plain text. I was wondering if there was a possible
universal way to 'trick' most email client software.

If it was normal .net we could have a multi-part email but Outlook doesn't
have this functionality.

  #2  
Old July 14th 09, 02:34 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Plain text versus HTML email

I don't think what you want can be done, in the HTML item you'd probably
have something like an a reference for the URL plus a text rendering for
it as part of the link tags. In plain text that's used to form the plain
text link. Mess with part of that and either or both formats probably won't
display correctly. But that's what you're going to have to experiment with,
playing with those a tag settings.

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


"Mark B" wrote in message
...
2007 VSTO Addin, C#.

We have code that inserts a clickable image (png) signature logo on
outgoing emails.

When it is read by a non-HTML email client it doesn't display the image
but does display the clickable-link URL.

We'd rather this not happen since we already display the URL in a sentence
which we code as white text just below the image so that the plain text
readers will see it but the HTML ones won't.

Anyone know of a way we can suppress the link URL from displaying in
plain-text readers? I'm guessing it depends on the way the particular
email client converts HTML to plain text. I was wondering if there was a
possible universal way to 'trick' most email client software.

If it was normal .net we could have a multi-part email but Outlook doesn't
have this functionality.


 




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
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
PHP, HTML-Email, Outlook 2003 broken into plain text [email protected] Outlook - General Queries 3 March 29th 07 01:04 PM
Font style change while writing email - from HTML to Plain text - How? David Smithz Outlook - General Queries 0 July 5th 06 01:30 AM
plain text to HTML email Andrew@HC Outlook - Installation 0 May 17th 06 05:01 PM


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