ITPub博客

首页 > IT基础架构 > 网络安全 > Mail To Syntax

Mail To Syntax

原创 网络安全 作者:suzhouclark 时间:2012-02-04 20:38:05 0 删除 编辑
s[@more@]
MailTo Syntax
April 10, 2007

    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
Address message to multiple recipients, (comma separating e-mail addresses)
Add entry in the "Subject" fieldsubject=Subject Field Text
Add entry in the "Copy To" or "CC" fieldcc=id@internet.node
Add entry in the "Blind Copy To" or "BCC" fieldbcc=id@internet.node
Add entry in the "Body" fieldbody=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

MailTo with Multiple Recipients

MailTo with Subject

MailTo with a Copy

MailTo with a Blind Copy

MailTo with message already started in Body

MailTo with multiline message in Body


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

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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9697/viewspace-1057274/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Iptables 使用
请登录后发表评论 登录
全部评论

注册时间:2010-03-26

  • 博文量
    124
  • 访问量
    335892