Solved

web based mail clients removing image hyperlinks

Posted on 2012-04-06
5
190 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
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:sevensnake77
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
 
LVL 9

Expert Comment

by:sevensnake77
ID: 37816142
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:
sevensnake77 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

809 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