0

I have one HTML page It contains table (it has three rows and two columns )

When i click button or link (anchor tag).

I need the same data in the outlook with the To(email id) & Subject (any text)

is that possible to do in javascript

Regards M

maha2861
  • 27
  • 1
  • 2
  • 9
  • Would you mind to share your current code and would you mind to ask google for a javascript beginning tutorial and then for some advanced to give us your current javascript code to look where your error is instead doing your homework? – Shegit Brahm Apr 24 '12 at 07:00
  • possible duplicate of [Is it possible to add an HTML link in the body of a MAILTO link](http://stackoverflow.com/questions/247245/is-it-possible-to-add-an-html-link-in-the-body-of-a-mailto-link) – McGarnagle Apr 24 '12 at 07:01
  • The short version is: no. Per RFC 2368 that defines the mailto URI scheme. – McGarnagle Apr 24 '12 at 07:02

1 Answers1

0

No, it would be a large security hole then. Best way to make it is

<a href="mailto:whoever@whereever.com?subject=Type my subject here;body=Body of email document">Send email</a> 

But it would work only if outlook is default mail agent on pc.

Johnny_D
  • 4,592
  • 3
  • 33
  • 63