web based mail clients removing image hyperlinks

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 ?
Who is Participating?
Seven priceConnect With a Mentor Full StackCommented:
did you try
Dim mailNew As New Net.Mail.MailMessage
        mailNew.IsBodyHtml = True
Seven priceFull StackCommented:
the image should be wrapped in basic html tag.

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

this works in all email browsers.
Seven priceFull StackCommented:
cehrnowAuthor Commented:
I have tried format <a href="#" ><img src="" border="0" /></a>


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

Is there any reason why this should be different ?
cehrnowAuthor Commented:
Yes, just needed to keep it simple !
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.