Solved

web based mail clients removing image hyperlinks

Posted on 2012-04-06
5
193 Views
Last Modified: 2012-04-06
When sending an email which contains an image with an embedded URL, this works fine when received by Windows Live Mail (for example). However, when received within a webbased email client only the image is shown and the hyperlink is not available. How can this be preserved ?
0
Comment
Question by:cehrnow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Seven price
ID: 37816138
the image should be wrapped in basic html tag.

example
<a href="#" ><img src="" border="0" /></a>

this works in all email browsers.
0
 

Author Comment

by:cehrnow
ID: 37816161
I have tried format <a href="#" ><img src="" border="0" /></a>

..using..

Dim htmlView As AlternateView = AlternateView.CreateAlternateViewFromString(as above format)
msgMail.AlternateViews.Add(htmlView)

Is there any reason why this should be different ?
0
 
LVL 9

Accepted Solution

by:
Seven price earned 500 total points
ID: 37816208
did you try
Dim mailNew As New Net.Mail.MailMessage
        mailNew.IsBodyHtml = True
0
 

Author Closing Comment

by:cehrnow
ID: 37816439
Yes, just needed to keep it simple !
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question