Plain text versus HTML email

  • Thread starter Thread starter Mark B
  • Start date Start date
M

Mark B

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.
 
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.
 
Back
Top