Page 1 of 1

Email with mailto in HTML format (enctype="text/html&qu

Posted: Fri Jan 14, 2005 6:41 am
by Chris Corbyn
Hi,

How do we use JavaScript to send an email in HTML format? Well actually.... more like "How do we use the mailto function to send email in HTML format?"

I'm doing that thing they say not to do and making a form that submit's data via the mailto function *cough* cough* ;-)

I'm specifying enctype="text/html" in the <form> tag but the received email just shows all the html code and has a .ATT attachment containing the form vars.

Can HTML emails be sent using mailto?

Thanks :-D

Posted: Fri Jan 14, 2005 7:26 am
by Chris Corbyn
Don't know if this is making a difference. The method I'm using to send the mail essentially equates to

Code: Select all

mailto:myemail@mydomain.com?subject=Something&body=<html><head></head><body>Some html<p>a new paragraph</body></html>