?
Solved

mailto html link encoding

Posted on 2012-08-31
4
Medium Priority
?
883 Views
Last Modified: 2012-11-18
I am dynamically creating subject's and body text for html mailto link's in VB.NET.

Dim hyperlink As String = "<a href="mailto:someone@example.com?subject=Test&body=Test">Test Link</a>"

How do I encode the body & subject so that it can be HTML in VB.NET?

For example:

Dim hyperlink As String = "<a href="mailto:someone@example.com?subject=Test&body=<p>Hello,<br /><br />Link to <a href=""www.google.com"">www.google.com</a> as well as special characters: & % #, etc<br /><br />Thanks,<br /><br />Matt</p>">Test Link</a>"
0
Comment
Question by:Matthew Kelly
  • 3
4 Comments
 
LVL 18

Expert Comment

by:Rajar Ahmed
ID: 38354305
0
 
LVL 18

Author Comment

by:Matthew Kelly
ID: 38354439
That is if the code was sending the email. I want to use the mailto: so that the email pops-up in Outlook and so the user can edit the email before sending.
0
 
LVL 18

Accepted Solution

by:
Matthew Kelly earned 0 total points
ID: 38596929
I don't think this is possible so I am going to close this question.
0
 
LVL 18

Author Closing Comment

by:Matthew Kelly
ID: 38610239
No solution found to this problem
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

749 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