spacer
Yehuda Shiran October 4, 2000
Extending the mailto: URL
Tips: October 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

The mailto: URL lets you preformat a message by supplying the address of the party you're sending a message to, 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 where the message should be sent::

mailto:tomer@netscent.com
When embedded in an HTML tag, it looks like this:

<A HREF="mailto:tomer@netscent.com">send Doc JavaScript a note</A>

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 (
?). Name/Value pairs are separated from each other by an ampersand (&):

mailto:tomer@netscent.com?cc=yehuda@internet.com&bcc=tomer@inernet.com&subject=Your Tips

and in HTML code:

<A HREF="mailto:tomer@netscent.com?cc=yehuda@internet.com&bcc=tomer@inernet.com&subject=Your Tips">
Your Feedback is Always Appreciated.</A>

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 yehuda@internet.com&bcc. Avoid the bcc parameter on this system/browser
combination.

This tip is not relevant to Lotus Notes (the address field is OK).


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint