Solved

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

Posted on 2014-12-19
2
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

739 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