皮肤经常痒是什么原因| 右肺小结节是什么意思| 孕晚期感冒可以吃什么药| 负压是什么意思| b超属于什么科室| 冰粉是什么做的| 张信哲为什么不结婚| 巨蟹男和什么座最配| 减肥为什么不让吃南瓜| 喊麦什么意思| 小壁虎的尾巴有什么作用| 提手旁加茶念什么| 拍ct挂什么科| 勃而不坚吃什么药| 思维方式是什么意思| 奶粉水解什么意思| wbc是什么意思医学| 老年人腿浮肿是什么原因引起的| 成都人民公园有什么好玩的| 产厄是什么意思| rt什么意思| 孕妇低血压什么补最快| 属马的是什么星座| 铁剂什么时候吃最好| 四肢发麻是什么原因| 滋阴润燥是什么意思| 为什么趴着睡觉会胀气然后打嗝| 脂肪肝浸润是什么意思| 痰多吃什么药好| 兵马俑在什么地方| 脚踩棉花感见于什么病| 脑供血不足是什么原因引起的| 腹膜炎吃什么药| 氧分压是什么意思| 小钢炮是什么意思| 麻醉学学什么| 氯雷他定有什么副作用| 湿气是什么东西| 手脚出汗什么原因| 前胸后背出汗是什么原因造成的| 燥是什么意思| 男人第一次什么 感觉| feel什么意思| 胶囊壳是什么原料做的| 青蟹什么季节吃最好| 特发性震颤是什么病| 头发细软是什么原因| e-mail什么意思| 阿莫西林和头孢有什么区别| 瑶五行属性是什么| 过敏性紫癜是什么症状| 什么植物最老实| 槲皮素是什么东西| 气血虚吃什么补最快女人| 香港有什么好吃的| 尿蛋白三个加号吃什么药| 秋天有什么景物| ais什么意思| 子宫纵隔什么意思| 挑食是什么意思| 自给自足是什么意思| 高晓松为什么进监狱| 胸部b超挂什么科| 女人梦到火是什么预兆| 2月27号是什么星座| 宝宝舌苔白厚是什么原因| 芙蓉花长什么样| 爱情和面包是什么意思| 蜻蜓点水是什么生肖| 中性粒细胞偏高是什么原因| 蚊子爱咬什么样的人| 乳酸菌可以制作什么| 八十岁叫什么之年| 二月二十一是什么星座| 怀孕什么时候打掉最好| 开光的手串有什么禁忌| 封面是什么意思| 马和驴为什么能杂交| 纽带是什么意思| 洗衣粉和洗衣液有什么区别| 为什么减肥一直减不下来| 支原体肺炎用什么药| 阑尾炎什么症状表现| 文化大革命是什么时候开始的| 喝水多尿少是什么原因| 炎症是什么原因引起的| 疝气长在什么位置图片| 澳门什么时候回归祖国| 尿血是什么问题| 农历5月20日是什么星座| 结婚13年是什么婚| 阴阳二气是什么意思| 胃肠彩超能检查出什么| 国树是什么树| 离经之血是什么意思| 护理学和护理有什么区别| 掉头发严重是什么原因| 突然间头晕是什么原因| 广式腊肠炒什么菜好吃| 转氨酶是什么意思| 痛风吃什么食物好得快| 乐加是什么药| 晚上11点是什么时辰| 为什么玉镯不能戴左手| 老婆子是什么意思| 立秋当天吃什么| 阴历六月十八是什么日子| 电视为什么打不开| 脾是什么器官| 用盐水漱口有什么好处| 老年人腿无力是什么原因导致的| 小白脸是什么意思| 漂头发是什么意思| 咖啡与什么食物相克| 蒸馏水是什么| 吃什么化痰效果最好最快| 什么叫烟雾病| 靴靴是什么意思| 心悸什么意思| 抬头头晕是什么原因| pr是什么工作| 荔枝和什么吃会中毒| 封神是什么意思| 讥讽的笑是什么笑| 油价什么时候调整| 什么是三观不合| 别致是什么意思| 去台湾需要什么证件| 就藩什么意思| 起死回生是什么生肖| 脾虚吃什么好| 4月是什么星座的| 38属什么| 小孩晚上睡觉流口水是什么原因| camouflage什么意思| 大队书记是什么级别| 管教有方是什么意思| 肝吸虫病有什么症状| 4月29号是什么星座| 黄褐斑是什么引起的| 石榴石是什么材质| 品种是什么意思| 烤鱼什么鱼好吃| 物质是什么| 什么时候怀孕几率最高| 保泰松是什么药| 多愁善感什么意思| 元辰是什么意思| 补白蛋白吃什么食物最快最好| 凤凰是什么| 什么虎不吃人| 施字五行属什么| 肠胃炎吃什么药好得快| 急性肠胃炎是什么原因引起的| 暴饮暴食会得什么病| 盐洗脸有什么好处| 什么是野鸡大学| 吃什么不胖反而瘦| 盛产是什么意思| 什么是功德| 维生素b吃多了有什么副作用| 国家能源局是什么级别| 3月10号什么星座| 停车坐爱枫林晚中的坐是什么意思| 最毒妇人心是什么意思| 有什么好吃的零食| 俗不可耐是什么意思| 比肩劫财是什么意思| 腻害什么意思| 乌龟肠胃炎用什么药| 晚上9点到10点是什么时辰| 一月十七是什么星座| 家里停电打什么电话| 为什么会做春梦| 草木皆兵是什么生肖| 心脏肥大吃什么药好| cheese是什么意思| 梅毒是什么症状| 辐射是什么意思| siv是什么意思| 立冬是什么意思| 牙结石是什么| 肌酐高什么原因| 升学宴选什么日子好| 皮肤痒有什么特效药| 就这样吧是什么意思| 酵母提取物是什么| 产妇吃什么下奶快又多又营养| 梦到拆房子是什么意思| 女中指戴戒指什么意思| 青霉素主治什么病| 回眸一笑百媚生什么意思| 尿道炎吃什么药最好| 食管炎吃什么药最好| 杀虫剂中毒有什么症状| 做梦流产了是什么意思| 天厨贵人是什么意思| 打太极拳有什么好处| 2月24日什么星座| 肾结石不能吃什么食物| aoa是什么意思| 只是当时已惘然是什么意思| 八月六号是什么星座| 经常早上肚子疼是什么原因| 多囊卵巢综合症吃什么食物好| 私密瘙痒是什么原因| 厦门房价为什么那么高| 黑色鸟是什么鸟| egg是什么意思| 沧州有什么好玩的地方| 咽喉炎是什么症状| 梦见吃酒席是什么预兆| 全程c反应蛋白高说明什么| 什么是萎缩性胃炎| 梅州有什么大学| 眼睛皮痒是什么原因| 果糖胺偏高说明什么| 网名叫什么好听| 玉米是什么植物| ky是什么意思| 孕晚期血糖高对胎儿有什么影响| 2.16什么星座| 心包积液是什么意思| 为什么会突然得荨麻疹| 数不胜数的胜是什么意思| 疣是什么样子图片| 昌字五行属什么| 吃开心果有什么好处和坏处| csk是什么品牌| 楚楚欲动是什么意思| 6月23号是什么星座| 长脸型适合什么样的发型女| 右侧卵巢内囊性结构什么意思| 乐五行属什么| 常乐我净是什么意思| 查脂肪肝挂什么科室| 三个火读什么| 前胸出汗多是什么原因| 清创手术是什么意思| 艾灸什么时候做最好| 什么是猥亵| 花椰菜是什么菜| 幽门螺旋杆菌什么症状| 眼底出血是什么症状| 书记是什么职位| 眼睛飞蚊症用什么药能治好| 1997年是什么生肖| 荨麻疹是由什么引起的| 湿热吃什么中成药| 成长是什么| 为什么一热就头疼| 生理盐水敷脸有什么作用| 筋膜炎挂什么科| 温煦是什么意思| 新生儿什么时候能看见东西| 泡酒用什么酒好| 39年属什么生肖| 欣赏一个人是什么意思| 一般什么意思| lz什么意思| 狗摇尾巴是什么意思| 可乐是什么做的| 胸闷气短什么原因| 过敏性咳嗽吃什么药| 百度

Network Working Group                                       P. Hoffman
Request for Comments: 2368                    Internet Mail Consortium
Updates: 1738, 1808                                        L. Masinter
Category: Standards Track                            Xerox Corporation
                                                           J. Zawinski
                                               Netscape Communications
                                                             July 1998


                         The mailto URL scheme

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

Abstract

   This document defines the format of Uniform Resource Locators (URL)
   for designating electronic mail addresses. It is one of a suite of
   documents which replace RFC 1738, 'Uniform Resource Locators', and
   RFC 1808, 'Relative Uniform Resource Locators'. The syntax of
   'mailto' URLs from RFC 1738 is extended to allow creation of more RFC
   822 messages by allowing the URL to express additional header and
   body fields.

1. Introduction

   The mailto URL scheme is used to designate the Internet mailing
   address of an individual or service. In its simplest form, a mailto
   URL contains an Internet mail address.

   For greater functionality, because interaction with some resources
   may require message headers or message bodies to be specified as well
   as the mail address, the mailto URL scheme is extended to allow
   setting mail header fields and the message body.

2. Syntax of a mailto URL

   Following the syntax conventions of RFC 1738 [RFC1738], a "mailto"
   URL has the form:



Hoffman, et. al.            Standards Track                     [Page 1]


RFC 2368                 The mailto URL scheme                 July 1998


     mailtoURL  =  "mailto:" [ to ] [ headers ]
     to         =  #mailbox
     headers    =  "?" header *( "&" header )
     header     =  hname "=" hvalue
     hname      =  *urlc
     hvalue     =  *urlc

   "#mailbox" is as specified in RFC 822 [RFC822]. This means that it
   consists of zero or more comma-separated mail addresses, possibly
   including "phrase" and "comment" components. Note that all URL
   reserved characters in "to" must be encoded: in particular,
   parentheses, commas, and the percent sign ("%"), which commonly occur
   in the "mailbox" syntax.

   "hname" and "hvalue" are encodings of an RFC 822 header name and
   value, respectively. As with "to", all URL reserved characters must
   be encoded.

   The special hname "body" indicates that the associated hvalue is the
   body of the message. The "body" hname should contain the content for
   the first text/plain body part of the message. The mailto URL is
   primarily intended for generation of short text messages that are
   actually the content of automatic processing (such as "subscribe"
   messages for mailing lists), not general MIME bodies.

   Within mailto URLs, the characters "?", "=", "&" are reserved.

   Because the "&" (ampersand) character is reserved in HTML, any mailto
   URL which contains an ampersand must be spelled differently in HTML
   than in other contexts.  A mailto URL which appears in an HTML
   document must use "&" instead of "&".

   Also note that it is legal to specify both "to" and an "hname" whose
   value is "to". That is,

     mailto:addr1%2C%20addr2

     is equivalent to

     mailto:?to=addr1%2C%20addr2

     is equivalent to

     mailto:addr1?to=addr2

   8-bit characters in mailto URLs are forbidden. MIME encoded words (as
   defined in [RFC2047]) are permitted in header values, but not for any
   part of a "body" hname.



Hoffman, et. al.            Standards Track                     [Page 2]


RFC 2368                 The mailto URL scheme                 July 1998


3. Semantics and operations

   A mailto URL designates an "internet resource", which is the mailbox
   specified in the address. When additional headers are supplied, the
   resource designated is the same address, but with an additional
   profile for accessing the resource. While there are Internet
   resources that can only be accessed via electronic mail, the mailto
   URL is not intended as a way of retrieving such objects
   automatically.

   In current practice, resolving URLs such as those in the "http"
   scheme causes an immediate interaction between client software and a
   host running an interactive server. The "mailto" URL has unusual
   semantics because resolving such a URL does not cause an immediate
   interaction. Instead, the client creates a message to the designated
   address with the various header fields set as default. The user can
   edit the message, send this message unedited, or choose not to send
   the message. The operation of how any URL scheme is resolved is not
   mandated by the URL specifications.

4. Unsafe headers

   The user agent interpreting a mailto URL SHOULD choose not to create
   a message if any of the headers are considered dangerous; it may also
   choose to create a message with only a subset of the headers given in
   the URL.  Only the Subject, Keywords, and Body headers are believed
   to be both safe and useful.

   The creator of a mailto URL cannot expect the resolver of a URL to
   understand more than the "subject" and "body" headers. Clients that
   resolve mailto URLs into mail messages should be able to correctly
   create RFC 822-compliant mail messages using the "subject" and "body"
   headers.

5. Encoding

   RFC 1738 requires that many characters in URLs be encoded. This
   affects the mailto scheme for some common characters that might
   appear in addresses, headers or message contents. One such character
   is space (" ", ASCII hex 20). Note the examples above that use "%20"
   for space in the message body.  Also note that line breaks in the
   body of a message MUST be encoded with "%0D%0A".

   People creating mailto URLs must be careful to encode any reserved
   characters that are used in the URLs so that properly-written URL
   interpreters can read them. Also, client software that reads URLs
   must be careful to decode strings before creating the mail message so




Hoffman, et. al.            Standards Track                     [Page 3]


RFC 2368                 The mailto URL scheme                 July 1998


   that the mail messages appear in a form that the recipient will
   understand. These strings should be decoded before showing the user
   the message.

   The mailto URL scheme is limited in that it does not provide for
   substitution of variables. Thus, a message body that must include a
   user's email address can not be encoded using the mailto URL. This
   limitation also prevents mailto URLs that are signed with public keys
   and other such variable information.

6. Examples

   URLs for an ordinary individual mailing address:

     <mailto:chris@example.com>

   A URL for a mail response system that requires the name of the file
   in the subject:

     <mailto:infobot@example.com?subject=current-issue>

   A mail response system that requires a "send" request in the body:

     <mailto:infobot@example.com?body=send%20current-issue>

   A similar URL could have two lines with different "send" requests (in
   this case, "send current-issue" and, on the next line, "send index".)

     <mailto:infobot@example.com?body=send%20current-
     issue%0D%0Asend%20index>

   An interesting use of your mailto URL is when browsing archives of
   messages. Each browsed message might contain a mailto URL like:

     <mailto:foobar@example.com?In-Reply-
     To=%3c3469A91.D10AF4C@example.com>

   A request to subscribe to a mailing list:

     <mailto:majordomo@example.com?body=subscribe%20bamboo-l>

   A URL for a single user which includes a CC of another user:

     <mailto:joe@example.com?cc=bob@example.com&body=hello>

   Another way of expressing the same thing:

     <mailto:?to=joe@example.com&cc=bob@example.com&body=hello>



Hoffman, et. al.            Standards Track                     [Page 4]


RFC 2368                 The mailto URL scheme                 July 1998


   Note the use of the "&" reserved character, above. The following
   example, by using "?" twice, is incorrect:

     <mailto:joe@example.com?cc=bob@example.com?body=hello>   ; WRONG!

   According to RFC 822, the characters "?", "&", and even "%" may occur
   in addr-specs. The fact that they are reserved characters in this URL
   scheme is not a problem: those characters may appear in mailto URLs,
   they just may not appear in unencoded form. The standard URL encoding
   mechanisms ("%" followed by a two-digit hex number) must be used in
   certain cases.

   To indicate the address "gorby%kremvax@example.com" one would do:

     <mailto:gorby%25kremvax@example.com>

   To indicate the address "unlikely?address@example.com", and include
   another header, one would do:

     <mailto:unlikely%3Faddress@example.com?blat=foop>

   As described above, the "&" (ampersand) character is reserved in HTML
   and must be replacded with "&amp;". Thus, a complex URL that has
   internal ampersands might look like:

     Click
     <a href="mailto:?to=joe@xyz.com&amp;cc=bob@xyz.com&amp;body=hello">
     mailto:?to=joe@xyz.com&amp;cc=bob@xyz.com&amp;body=hello</a> to
     send a greeting message to <i>Joe and Bob</i>.

7. Security Considerations

   The mailto scheme can be used to send a message from one user to
   another, and thus can introduce many security concerns. Mail messages
   can be logged at the originating site, the recipient site, and
   intermediary sites along the delivery path. If the messages are not
   encoded, they can also be read at any of those sites.

   A mailto URL gives a template for a message that can be sent by mail
   client software. The contents of that template may be opaque or
   difficult to read by the user at the time of specifying the URL.
   Thus, a mail client should never send a message based on a mailto URL
   without first showing the user the full message that will be sent
   (including all headers that were specified by the mailto URL), fully
   decoded, and asking the user for approval to send the message as
   electronic mail. The mail client should also make it clear that the
   user is about to send an electronic mail message, since the user may
   not be aware that this is the result of a mailto URL.



Hoffman, et. al.            Standards Track                     [Page 5]


RFC 2368                 The mailto URL scheme                 July 1998


   A mail client should never send anything without complete disclosure
   to the user of what is will be sent; it should disclose not only the
   message destination, but also any headers. Unrecognized headers, or
   headers with values inconsistent with those the mail client would
   normally send should be especially suspect. MIME headers (MIME-
   Version, Content-*) are most likely inappropriate, as are those
   relating to routing (From, Bcc, Apparently-To, etc.)

   Note that some headers are inherently unsafe to include in a message
   generated from a URL. For example, headers such as "From:", "Bcc:",
   and so on, should never be interpreted from a URL. In general, the
   fewer headers interpreted from the URL, the less likely it is that a
   sending agent will create an unsafe message.

   Examples of problems with sending unapproved mail include:

     * mail that breaks laws upon delivery, such as making illegal
       threats;

     * mail that identifies the sender as someone interested in breaking
       laws;

     * mail that identifies the sender to an unwanted third party;

     * mail that causes a financial charge to be incurred on the sender;

     * mail that causes an action on the recipient machine that causes
       damage that might be attributed to the sender.

   Programs that interpret mailto URLs should ensure that the SMTP
   "From" address is set and correct.

8. IANA Considerations

   This document changes the definition of the mailto: URI scheme; any
   registry of URI schemes should refer to this document rather than its
   predecessor, RFC 1738.














Hoffman, et. al.            Standards Track                     [Page 6]


RFC 2368                 The mailto URL scheme                 July 1998


9. References

   [RFC822] Crocker, D., "Standard for the Format of ARPA Internet Text
            Messages", STD 11, RFC 822, August 1982.

   [RFC1738] Berners-Lee, T., Masinter, L., and M. McCahill, Editors,
             "Uniform Resource Locators (URL)", RFC 1738, December 1994.

   [RFC1808] Fielding, R., "Relative Uniform Resource Locators", RFC
             1808, June 1995.

   [RFC2047] Moore, K., "MIME Part Three: Message Header Extensions for
             Non-ASCII Text", RFC 2047, November 1996.






































Hoffman, et. al.            Standards Track                     [Page 7]


RFC 2368                 The mailto URL scheme                 July 1998


A. Change from RFC 1738

   RFC 1738 defined only a simple 'mailto' with no headers, just an
   addr-spec (not a full mailbox.)  However, required usage and
   implementation has led to the development of an extended syntax that
   included more header fields.

B. Acknowledgments

   This document was derived from RFC 1738 and RFC 1808 [RFC1808]; the
   acknowledgments from those specifications still applies.

   The following people contributed to this memo or had and discussed
   similar ideas for mailto.

   Harald Alvestrand
   Bryan Costales
   Steve Dorner
   Al Gilman
   Mark Joseph
   Laurence Lundblade
   Keith Moore
   Jacob Palme
   Michael Patton



























Hoffman, et. al.            Standards Track                     [Page 8]


RFC 2368                 The mailto URL scheme                 July 1998


C. Author Contact Information

   Paul E. Hoffman
   Internet Mail Consortium
   127 Segre Place
   Santa Cruz, CA  95060 USA

   EMail: phoffman@imc.org


   Larry Masinter
   Xerox Corporation
   3333 Coyote Hill Road
   Palo Alto, CA 94304 USA

   EMail: masinter@parc.xerox.com


   Jamie Zawinski
   Netscape Communications Corp.
   501 East Middlefield Road
   Mountain View, CA 94043 USA

   EMail: jwz@netscape.com



























Hoffman, et. al.            Standards Track                     [Page 9]


RFC 2368                 The mailto URL scheme                 July 1998


D.  Full Copyright Statement

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
























Hoffman, et. al.            Standards Track                    [Page 10]
吃什么全面补充维生素 身上长红色的痣是什么原因 提成是什么 rca是什么意思 小儿外科主要看什么病
喝醉酒是什么感觉 吃完螃蟹不能吃什么 亲嘴会传染什么病 泄愤是什么意思 黑茶色是什么颜色
小孩有点咳嗽吃什么药 硫磺有什么作用 精索静脉曲张挂什么科 品牌主理人是什么意思 微量蛋白尿高说明什么
撒贝宁是什么民族 坐地户是什么意思 FAN英语什么意思 小腿酸软无力是什么原因 医院规培是什么意思
孕妇吸氧对胎儿有什么好处hcv9jop7ns5r.cn 阑尾切除后有什么影响和后遗症zhiyanzhang.com 0和1是什么意思hcv8jop9ns1r.cn 什么情况下才做冠脉ctahcv9jop6ns4r.cn 汁字五行属什么jingluanji.com
烂好人什么意思hcv9jop2ns7r.cn 清宫和人流有什么区别hcv8jop7ns1r.cn 血气是什么意思hcv9jop2ns8r.cn msm是什么意思hcv8jop5ns5r.cn edsheeran为什么叫黄老板hcv8jop1ns3r.cn
尿潴留是什么原因引起的hcv8jop5ns1r.cn 宝是什么意思aiwuzhiyu.com 胎停了有什么明显症状0735v.com 奥运五环绿色代表什么hcv9jop6ns6r.cn 做梦梦到水是什么征兆hcv9jop7ns3r.cn
双侧肾盂分离是什么意思hcv9jop3ns9r.cn 梦见做棺材是什么意思hcv8jop9ns3r.cn 望而生畏什么意思hcv9jop2ns4r.cn 日龙包什么意思cj623037.com 囊性无回声是什么意思hcv8jop0ns2r.cn
百度