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

org.apache.james.imap.scripts.RenameSelected.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: A2 CREATE testmailbox
S: A2 OK CREATE completed\.
C: A3 SELECT testmailbox
S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
S: \* 0 EXISTS
S: \* 0 RECENT
S: \* OK \[UIDVALIDITY \d+\]
S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)\]
S: \* OK \[UIDNEXT 1\]
S: A3 OK \[READ-WRITE\] SELECT completed\.
C: A4 APPEND testmailbox {185+}
C: From: Timothy Tayler 
C: To: Samual Smith 
C: Date: Thu, 14 Feb 2008 12:00:00 +0000 (GMT)
C: Subject: A Simple Email
C: 
C: This is a very simple email.
C: 
S: \* 1 EXISTS
S: \* 1 RECENT
S: A4 OK APPEND completed\.
C: A5 APPEND testmailbox {185+}
C: From: John Smith 
C: To: Timothy Taylor 
C: Subject: Hello
C: Date: Sat, 23 Feb 2008 07:48:03 -0600
C: Message-ID: <[email protected]>
C: 
C: Hello, World!
S: \* 2 EXISTS
S: \* 2 RECENT
S: A5 OK APPEND completed\.
C: A6 APPEND testmailbox {227+}
C: From: John Smith 
C: Sender: Samual Smith 
C: To: Timothy Taylor 
C: Subject: Hello
C: Date: Sat, 23 Feb 2008 07:48:03 -0600
C: Message-ID: <[email protected]>
C: 
C: Hello, World!
S: \* 3 EXISTS
S: \* 3 RECENT
S: A6 OK APPEND completed\.
C: A7 APPEND testmailbox {185+}
C: From: Timothy Tayler 
C: To: Samual Smith 
C: Date: Thu, 14 Feb 2008 12:00:00 +0000 (GMT)
C: Subject: A Simple Email
C: 
C: This is a very simple email.
C: 
S: \* 4 EXISTS
S: \* 4 RECENT
S: A7 OK APPEND completed\.
C: A8 APPEND testmailbox {318+}
C: From: "Brian G. Hutton" 
C: To: Timothy Taylor , [email protected], Huh? 
C: CC: , "David \"The Thin White Duke\" Bowie" 
C: Subject: Rhubarb
C: Date: Sat, 23 Feb 2008 07:48:03 -0600
C: Message-ID: <[email protected]>
C: 
C: Rhubarb!
S: \* 5 EXISTS
S: \* 5 RECENT
S: A8 OK APPEND completed\.
C: A9 SELECT testmailbox
S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
S: \* 5 EXISTS
S: \* 5 RECENT
S: \* OK \[UIDVALIDITY \d+\]
S: \* OK \[UNSEEN 1\](.)*
S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)\]
S: \* OK \[UIDNEXT 6\]
S: A9 OK \[READ-WRITE\] SELECT completed\.
C: A10 FETCH 1:* (FLAGS UID BODY.PEEK[HEADER.FIELDS (DATE FROM TO ORIGINATOR X-LIST)])
S: \* 1 FETCH \(FLAGS \(\\Recent\) UID 1 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 2 FETCH \(FLAGS \(\\Recent\) UID 2 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 3 FETCH \(FLAGS \(\\Recent\) UID 3 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 4 FETCH \(FLAGS \(\\Recent\) UID 4 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 5 FETCH \(FLAGS \(\\Recent\) UID 5 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{167\}
S: From: "Brian G\. Hutton" 
S: To: Timothy Taylor , faith@example\.org, Huh\? 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: A10 OK FETCH completed\.
C: A11 LIST "" "*"
SUB {
S: \* LIST \(\\HasNoChildren\) "\." "testmailbox"
S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
S: \* LIST \(\\HasNoChildren\) "\." "selected"
}
S: A11 OK LIST completed\.
C: A12 RENAME testmailbox anothermailbox
S: A12 OK RENAME completed.
C: A13 LIST "" "*"
SUB {
S: \* LIST \(\\HasNoChildren\) "\." "anothermailbox"
S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
S: \* LIST \(\\HasNoChildren\) "\." "selected"
}
S: A13 OK LIST completed\.
C: A14 FETCH 1:* (FLAGS UID BODY.PEEK[HEADER.FIELDS (DATE FROM TO ORIGINATOR X-LIST)])
S: \* 1 FETCH \(FLAGS \(\\Recent\) UID 1 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 2 FETCH \(FLAGS \(\\Recent\) UID 2 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 3 FETCH \(FLAGS \(\\Recent\) UID 3 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 4 FETCH \(FLAGS \(\\Recent\) UID 4 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 5 FETCH \(FLAGS \(\\Recent\) UID 5 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{167\}
S: From: "Brian G\. Hutton" 
S: To: Timothy Taylor , faith@example\.org, Huh\? 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: A14 OK FETCH completed\.
C: A15 STORE 1:2  +FLAGS (\FLAGGED)
S: \* 1 FETCH \(FLAGS \(\\Flagged \\Recent\)\)
S: \* 2 FETCH \(FLAGS \(\\Flagged \\Recent\)\)
S: A15 OK STORE completed\.
C: A16 STORE 1:3  +FLAGS (\ANSWERED)
S: \* 1 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\)\)
S: \* 2 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\)\)
S: \* 3 FETCH \(FLAGS \(\\Answered \\Recent\)\)
S: A16 OK STORE completed\.
C: A17 FETCH 1:* (FLAGS UID BODY.PEEK[HEADER.FIELDS (DATE FROM TO ORIGINATOR X-LIST)])
S: \* 1 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\) UID 1 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 2 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\) UID 2 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 3 FETCH \(FLAGS \(\\Answered \\Recent\) UID 3 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 4 FETCH \(FLAGS \(\\Recent\) UID 4 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 5 FETCH \(FLAGS \(\\Recent\) UID 5 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{167\}
S: From: "Brian G\. Hutton" 
S: To: Timothy Taylor , faith@example\.org, Huh\? 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: A17 OK FETCH completed\.
C: A18 SELECT testmailbox
S: A18 NO SELECT failed. No such mailbox\.
C: A19 SELECT anothermailbox
S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
S: \* 5 EXISTS
S: \* 5 RECENT
S: \* OK \[UIDVALIDITY \d+\]
S: \* OK \[UNSEEN 1\](.)*
S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)\]
S: \* OK \[UIDNEXT 6\]
S: A19 OK \[READ-WRITE\] SELECT completed\.
C: A20 FETCH 1:* (FLAGS UID BODY.PEEK[HEADER.FIELDS (DATE FROM TO ORIGINATOR X-LIST)])
S: \* 1 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\) UID 1 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 2 FETCH \(FLAGS \(\\Answered \\Flagged \\Recent\) UID 2 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 3 FETCH \(FLAGS \(\\Answered \\Recent\) UID 3 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{116\}
S: From: John Smith 
S: To: Timothy Taylor 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: \* 4 FETCH \(FLAGS \(\\Recent\) UID 4 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{130\}
S: From: Timothy Tayler 
S: To: Samual Smith 
S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
S: 
S: \)
S: \* 5 FETCH \(FLAGS \(\\Recent\) UID 5 BODY\[HEADER\.FIELDS \(DATE FROM TO ORIGINATOR X-LIST\)\] \{167\}
S: From: "Brian G\. Hutton" 
S: To: Timothy Taylor , faith@example\.org, Huh\? 
S: Date: Sat, 23 Feb 2008 07:48:03 -0600
S: 
S: \)
S: A20 OK FETCH completed\.
C: A21 DELETE anothermailbox
S: A21 OK DELETE completed\.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy