Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

web based mail clients removing image hyperlinks

Posted on 2012-04-06
5
Medium Priority
?
195 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: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
 
LVL 9

Expert Comment

by:Seven price
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:
Seven price earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

972 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