Best use of email links on web pages

Standard

MailTo   Syntax
August 15, 2003
The MailTo command can do more than enter a single e-mail address in the “Send To” field while activating your e-mail program. It can also:

Feature Syntax
Address message to multiple recipients ,   (comma separating e-mail addresses)
Add entry in the “Subject” field ?subject=Subject Field Text
Add entry in the “Copy To” or “CC” field ?&cc=id@internet.node
Add entry in the “Blind Copy To” or “BCC” field ?&bcc=id@internet.node
Add entry in the “Body” field ?&body=Your message here

Notes:

” ” (beginning and ending double quotes) are necessary if any spaces are used
Use the ? (question mark) and only one “?”, when providing any entry beyond e-mail addressSome examples, with actual HTML Code included, follow:

Simple MailTo

<a href=”mailto:astark1@unl.edu”>

MailTo with Multiple Recipients

<a href=”mailto:astark1@unl.edu ,astark@unlserve.unl.edu “>

MailTo with Subject

<a href=”mailto:astark1@unl.edu ?subject=Comments from MailTo Syntax Page “>

MailTo with a Copy

<a href=”mailto:astark1@unl.edu ?&cc=astark@unlserve.unl.edu “>

MailTo with a Blind Copy

<a href=”mailto:astark1@unl.edu ?&bcc=astark@unlserve.unl.edu “>

MailTo with message already started in Body

<a href=”mailto:astark1@unl.edu ?&body=I am having trouble finding information on “>

MailTo with multiline message in Body

<a href=”mailto:astark1@unl.edu ?&body=The message’s first line. &body=Second line. &body=Third Line. “>
IMPORTANT NOTE: This feature will NOT work with all e-mail programs, in which case the body information appears as a single line.Features may be used in combination

MailTo with Subject, One Recipient and Two Copies
<a href=”mailto:astark1@unl.edu?subject=MailTo Comments&cc=astark@unlserve.unl.edu,id@internet.node”>

Remember to use only one ? (question mark), when providing multiple entries beyond e-mail address


Disclaimer:
By reading and/or using the information within this web page you agree to hold the author, publisher and all related entities harmless from any claim directly or indirectly related to the information given or the use of any part of the information on this web site. Use at own risk. No responsibility taken.