home / experts / javascript / column70 |
|
The SyntaxThe mailto: URL lets you pre format a message by supplying the address to whom you are sending the message, the subject, who should be copied (cc) or blind-copied (bcc), and the body of the message. The simplest, most common use of the mailto: URL is to specify the address to where the message should be send:
When embedded in an HTML tag, it looks like this:
If you want to specify other properties of the mail message, you can add them to the URL as name/value pairs (name=value). Each property name is followed by an equal sign and a value. The list of name/value pairs is separated from the email address by a question mark (
and in HTML code:
Your Feedback is Always Appreciated.
On Mac, IE has difficulties in parsing the bcc parameter and appends it to the cc value. When you click on the above link, for example, the cc address will show up on the new mail window as Next: How to use the mailto: URL tool |
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: October 9, 2000
Revised: October 9, 2000
URL: http://www.webreference.com/js/column70/2.html