Solved

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

Posted on 2014-12-19
2
162 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 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
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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

713 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