Solved

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

Posted on 2014-12-19
2
158 Views
Last Modified: 2014-12-26
Hi,
We are using html 'mailto' function to generate emails.

Is it possible to do it in Asp.Net using Visual Studio 2013? How?
0
Comment
Question by:José Perez
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 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.
0
 
LVL 35

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
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

770 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