Solved

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

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now