[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[转]MailTo语法

上一篇:[转]天津华苑准生证办理过程
下一篇:[备忘]Windows XP Pro 的 IIS 5.1 最大连接数是40!!!

添加日期:2008/7/25 19:10:29 快速返回   返回列表 阅读7062次
PLEASE NOTE: 

It is recommended that you use a process other than MailTo handle the e-mail process from your web site. 

If you do use MailTo, please encode the included e-mail address(s) to reduce the spam for that address.

One routine to assist encoding and e-mail address is available at: http://www.ianr.unl.edu/email/encode/ 

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 
多个收件人:用逗号分隔的email地址 
添加主题:  subject=Subject Field Text 
添加抄送地址:  cc=id@internet.node 
添加暗送地址:  bcc=id@internet.node 
添加内容: body=Your message here

Within the body use "%0A" for a new line,
use "%0A%0A" for a new line preceded by a blank line (paragraph),
see example below.  

Notes: 

" " (beginning and ending double quotes) are necessary if any spaces are used

Mailto parameter should be preceded by "?" for the first or only parameter and "&" for second and subsequent parameter. 
Some 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,ASTARK1@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=ASTARK1@UNL.EDU">
MailTo with a Blind Copy 

<a href="mailto:astark1@unl.edu?bcc=ASTARK1@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 paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.">
NOTE: Use "%0A" for a new line, use "%0A%0A" for a new line preceded by a blank line.
Features may be used in combination

MailTo with Subject, a Recipient, a Copy and a Blind Copy 
<a href="mailto:astark1@unl.edu?subject=MailTo Comments&cc=ASTARK1@UNL.EDU&bcc=id@internet.node">


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

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved