All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.james.imap.scripts.AppendToSelected.test Maven / Gradle / Ivy

There is a newer version: 0.2-M1
Show newest version
################################################################
# 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: a7 select appendBox
S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
S: \* 1 EXISTS
S: \* 1 RECENT
S: \* OK \[UIDVALIDITY \d+\]
S: \* OK \[UNSEEN 1\]
S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)\]
S: \* OK \[UIDNEXT 2\]
S: a7 OK \[READ-WRITE\] SELECT completed.

C: A007 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: \* 2 EXISTS
S: \* 2 RECENT
S: A007 OK APPEND completed.

C: a1 DELETE appendBox
S: a1 OK DELETE completed.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy