⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc4469.txt

📁 广泛使用的邮件服务器!同时
💻 TXT
📖 第 1 页 / 共 2 页
字号:
   C: --------------030308070208000400050907   C:  URL "/Drafts;UIDVALIDITY=385759045/;UID=20/;section=1.MIME"    URL "/Drafts;UIDVALIDITY=385759045/;UID=20/;section=1" TEXT {42}   S: + Ready for literal data   C:   C: --------------030308070208000400050907   C:  URL "/Drafts;UIDVALIDITY=385759045/;UID=30" TEXT {44}   S: + Ready for literal data   C:   C: --------------030308070208000400050907--   C: )   S: A003 OK catenate append completedResnick                     Standards Track                     [Page 7]RFC 4469                IMAP CATENATE Extension               April 2006   Example 2: The following example demonstrates how the CATENATE   extension can be used to replace edited text in a draft message, as   well as header fields for the top level message part (e.g., Subject   has changed).  The previous version of the draft is marked as   \Deleted.  Note that the server also supports the UIDPLUS extension,   so the APPENDUID response code is returned in the successful OK   response to the APPEND command.   C: A003 APPEND Drafts (\Seen \Draft $MDNSent) CATENATE (TEXT {738}   S: + Ready for literal data   C: Return-Path: <bar@example.org>   C: Received: from [127.0.0.2]   C:           by rufus.example.org via TCP (internal) with ESMTPA;   C:           Thu, 11 Nov 2004 16:57:07 +0000   C: Message-ID: <419399E1.6000505@example.org>   C: Date: Thu, 12 Nov 2004 16:57:05 +0000   C: From: Bob Ar <bar@example.org>   C: X-Accept-Language: en-us, en   C: MIME-Version: 1.0   C: To: foo@example.net   C: Subject: About our holiday trip   C: Content-Type: multipart/mixed;   C:               boundary="------------030308070208000400050907"   C:   C: --------------030308070208000400050907   C: Content-Type: text/plain; charset=us-ascii; format=flowed   C: Content-Transfer-Encoding: 7bit   C:   C: Our travel agent has sent the updated schedule.   C:   C: Cheers,   C: Bob   C: --------------030308070208000400050907   C:  URL "/Drafts;UIDVALIDITY=385759045/;UID=20/;Section=2.MIME"    URL "/Drafts;UIDVALIDITY=385759045/;UID=20/;Section=2" TEXT {44}   S: + Ready for literal data   C:   C: --------------030308070208000400050907--   C: )   S: A003 OK [APPENDUID 385759045 45] append Completed   C: A004 UID STORE 20 +FLAGS.SILENT (\Deleted)   S: A004 OK STORE completedResnick                     Standards Track                     [Page 8]RFC 4469                IMAP CATENATE Extension               April 2006   Example 3: The following example demonstrates how the CATENATE   extension can be used to strip attachments.  Below, a PowerPoint   attachment was replaced by a small text part explaining that the   attachment was stripped.   C: A003 APPEND Drafts (\Seen \Draft $MDNSent) CATENATE    (URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=HEADER"    TEXT {42}   S: + Ready for literal data   C:   C: --------------030308070208000400050903   C:  URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=1.MIME"    URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=1" TEXT {255}   S: + Ready for literal data   C:   C: --------------030308070208000400050903   C: Content-type: text/plain; charset="us-ascii"   C: Content-transfer-encoding: 7bit   C:   C: This body part contained a Power Point presentation that was   C: deleted upon your request.   C: --------------030308070208000400050903--   C: )   S: A003 OK append CompletedResnick                     Standards Track                     [Page 9]RFC 4469                IMAP CATENATE Extension               April 2006   Example 4: The following example demonstrates a failed APPEND   command.  The server returns the BADURL response code to indicate   that one of the provided URLs is invalid.  This example also   demonstrates how the CATENATE extension can be used to construct a   digest of several messages.   C: A003 APPEND Sent (\Seen $MDNSent) CATENATE (TEXT {541}   S: + Ready for literal data   C: Return-Path: <foo@example.org>   C: Received: from [127.0.0.2]   C:           by rufus.example.org via TCP (internal) with ESMTPA;   C:           Thu, 11 Nov 2004 16:57:07 +0000   C: Message-ID: <419399E1.6000505@example.org>   C: Date: Thu, 21 Nov 2004 16:57:05 +0000   C: From: Farren Oo <foo@example.org>   C: X-Accept-Language: en-us, en   C: MIME-Version: 1.0   C: To: bar@example.org   C: Subject: Digest of the mailing list for today   C: Content-Type: multipart/digest;   C:               boundary="------------030308070208000400050904"   C:   C: --------------030308070208000400050904   C:  URL "/INBOX;UIDVALIDITY=785799047/;UID=11467" TEXT {42}   S: + Ready for literal data   C:   C: --------------030308070208000400050904   C:  URL "/INBOX;UIDVALIDITY=785799047/;UID=113330/;section=1.5.9"    TEXT {42}   S: + Ready for literal data   C:   C: --------------030308070208000400050904   C:  URL "/INBOX;UIDVALIDITY=785799047/;UID=11916" TEXT {44}   S: + Ready for literal data   C:   C: --------------030308070208000400050904--   C: )   S: A003 NO [BADURL "/INBOX;UIDVALIDITY=785799047/;UID=113330;   section=1.5.9"] CATENATE append has failed, one message expunged   Note that the server could have validated the URLs as they were   received and therefore could have returned the tagged NO response   with BADURL response-code in place of any continuation request after   the URL was received.Resnick                     Standards Track                    [Page 10]RFC 4469                IMAP CATENATE Extension               April 20069.  Normative References   [1]  Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1",        RFC 3501, March 2003.   [2]  Newman, C., "IMAP URL Scheme", RFC 2192, September 1997.   [3]  Crispin, M., "Internet Message Access Protocol (IMAP) -        MULTIAPPEND Extension", RFC 3502, March 2003.   [4]  Resnick, P., "Internet Message Format", RFC 2822, April 2001.   [5]  Freed, N. and N. Borenstein, "Multipurpose Internet Mail        Extensions (MIME) Part One: Format of Internet Message Bodies",        RFC 2045, November 1996.   [6]  Crispin, M., "Internet Message Access Protocol (IMAP) - UIDPLUS        extension", RFC 4315, December 2005.   [7]  Crocker, D. and P. Overell, "Augmented BNF for Syntax        Specifications: ABNF", RFC 4234, October 2005.   [8]  Melnikov, A. and C. Daboo, "Collected Extensions to IMAP4 ABNF",        RFC 4466, April 2006.Resnick                     Standards Track                    [Page 11]RFC 4469                IMAP CATENATE Extension               April 2006Author's Address   Peter W. Resnick   QUALCOMM Incorporated   5775 Morehouse Drive   San Diego, CA  92121-1714   US   Phone: +1 858 651 4478   EMail: presnick@qualcomm.com   URI:   http://www.qualcomm.com/~presnick/Resnick                     Standards Track                    [Page 12]RFC 4469                IMAP CATENATE Extension               April 2006Full Copyright Statement   Copyright (C) The Internet Society (2006).   This document is subject to the rights, licenses and restrictions   contained in BCP 78, and except as set forth therein, the authors   retain all their rights.   This document and the information contained herein are provided on an   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET   ENGINEERING TASK FORCE DISCLAIM 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.Intellectual Property   The IETF takes no position regarding the validity or scope of any   Intellectual Property Rights or other rights that might be claimed to   pertain to the implementation or use of the technology described in   this document or the extent to which any license under such rights   might or might not be available; nor does it represent that it has   made any independent effort to identify any such rights.  Information   on the procedures with respect to rights in RFC documents can be   found in BCP 78 and BCP 79.   Copies of IPR disclosures made to the IETF Secretariat and any   assurances of licenses to be made available, or the result of an   attempt made to obtain a general license or permission for the use of   such proprietary rights by implementers or users of this   specification can be obtained from the IETF on-line IPR repository at   http://www.ietf.org/ipr.   The IETF invites any interested party to bring to its attention any   copyrights, patents or patent applications, or other proprietary   rights that may cover technology that may be required to implement   this standard.  Please address the information to the IETF at   ietf-ipr@ietf.org.Acknowledgement   Funding for the RFC Editor function is provided by the IETF   Administrative Support Activity (IASA).Resnick                     Standards Track                    [Page 13]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -