Helping ordinary people create extraordinary websites!
   

How to create an email link to open the email client with the subject filled in?

Wednesday, 3rd February 2010
by Aaron

I want to setup an email link like a contact email and when the user clicks on it it opens up their Outlook or Gmail or whichever email service they use with the email address and subject prefilled. Also if its possible to prefill the body as well that would be great.

Thanks.





malaki1974
<a href="mailto:YourName@YourSite.com? cc=someone@YourSite.com&bcc=someoneElse@YourSite.com &subject=Shipping%20Information%20Request&body=Please%20tell%20me%20if%20my%20order%20has%20shipped!">Shipping Request</a>

Sources:

Tuesday, 16th February 2010
Votes:
19
6

More HTML Help:
» Submit a form to send an email
» HTML mouse rollover image pop up effect
» How do I set an absolute path that will work throughout the site?
» How to make my RSS feed show up in the browser address bar?
» Online table maker
» Vertical Multi level Menu using Javascript/CSS
» How to create popup menu in html
» How to upload a file to a directory in the server through a web page?