Alex Rivera | Logout

Sending HTML in mailto anchor tag

Asked 2010-07-02T13:00:17.147
9

I have an anchor tag on my web page that is currently defined as:

<a href="mailto:someone@somewhere.com?subject=Welcome&body=Check this out, please click <a href='http://example.com'>here</a>">Send to a Friend</a>

As this link demonstrates, I'm trying to send some HTML in an email when a user clicks a link. However, when the text opens in the email editor, it is displayed as pure text. How do I get it to be in HTML format?

Edit
Report

1 Answer

1

I think is a email editor default options dependent. You telling to browser operation of open email editor then you can't say to it what method this email was send.

If you want have control with parameters like this you must implement sending mail by self.

answered 2010-07-02T13:02:10.947

Your Answer