org.apache.james.imap.scripts.Append.test Maven / Gradle / Ivy
################################################################
# Licensed to the Apache Software Foundation (ASF) under one #
# or more contributor license agreements. See the NOTICE file #
# distributed with this work for additional information #
# regarding copyright ownership. The ASF licenses this file #
# to you under the Apache License, Version 2.0 (the #
# "License"); you may not use this file except in compliance #
# with the License. You may obtain a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, #
# software distributed under the License is distributed on an #
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
# KIND, either express or implied. See the License for the #
# specific language governing permissions and limitations #
# under the License. #
################################################################
C: a1 CREATE appendBox
S: a1 OK CREATE completed.
C: A003 APPEND appendBox {310}
# Use command continuation request
S: \+
C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
C: From: Fred Foobar
C: Subject: afternoon meeting 2
C: To: [email protected]
C: Message-Id:
C: MIME-Version: 1.0
C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
C:
C: Hello Joe, could we change that to 4:00pm tomorrow?
C:
S: A003 OK APPEND completed.
C: A004 APPEND appendBox (\Seen) "17-Jul-1996 02:44:25 -0700" {310+}
# use synchronising literal
C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
C: From: Fred Foobar
C: Subject: afternoon meeting 2
C: To: [email protected]
C: Message-Id:
C: MIME-Version: 1.0
C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
C:
C: Hello Joe, could we change that to 4:00pm tomorrow?
C:
S: A004 OK APPEND completed.
C: a1 APPEND nosuchmailbox {13+}
C: 13 characters
S: a1 NO \[TRYCREATE\] APPEND failed\. No such mailbox\.
C: 5.25 APPEND appendBox (\Seen \Draft) "09-Apr-2008 15:17:51 +0200" {310+}
C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
C: From: Fred Foobar
C: Subject: afternoon meeting 2
C: To: [email protected]
C: Message-Id:
C: MIME-Version: 1.0
C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
C:
C: Hello Joe, could we change that to 4:00pm tomorrow?
C:
S: 5.25 OK APPEND completed.
C: a1 DELETE appendBox
S: a1 OK DELETE completed.