Asp.Net VS2013: Is it possible to pass an html table using "mailto"?

Posted on 2014-12-19
Medium Priority
Last Modified: 2014-12-26
We are using html 'mailto' function to generate emails.

Is it possible to do it in Asp.Net using Visual Studio 2013? How?
Question by:José Perez
LVL 84

Accepted Solution

Dave Baldwin earned 1500 total points
ID: 40510340
'mailto' has a Very limited function.  It depends on the email client program that your web user is running.  You should try what ever you want to do with Outlook, Thunderbird, Gmail, and Yahoo mail as the default mail clients.  Outlook Express in Windows XP would only accept basic parameters as shown here: http://en.wikipedia.org/wiki/Mailto  You need to try it with all the default email client programs that you expect your users to have.

It is generally better if you can generate an email on the server and send it thru your own mail server.  Then you can generate HTML email and add attachments.
LVL 36

Expert Comment

by:Miguel Oz
ID: 40510351
I do not think you can add an html table to the body. 'mailto' is usually limited to simple  body text as shown below:
<a HREF="mailto:?subject=look at this website&body=Hi, I found this website
and thought you might like it http://www.geocities.com/wowhtml/">tell a friend</a>

Open in new window

This is on top that it depends on email client to read the body parameter correctly.
For further info check rfc2368 and mailto.

Note: added a server based solution in your previous question

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

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.

Join & Write a Comment

There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

600 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