email/pop3andsmtpmtm/imapservermtm/test/data/ImapGetMailAndAttachment.txt
changeset 25 84d9eb65b26f
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
       
     1 << * OK Microsoft Exchange 2000 IMAP4rev1 server version 6.0.6249.0 (lon-cn-exchng2k.msexchange2k.closedtest.intra) ready.
       
     2 >> 1 CAPABILITY
       
     3 << * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
       
     4 << 1 OK CAPABILITY completed.
       
     5 >> 2 LOGIN davids davids
       
     6 << 2 OK LOGIN completed.
       
     7 >> 3 SELECT "INBOX"
       
     8 << * 1 EXISTS
       
     9 << * 0 RECENT
       
    10 << * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
       
    11 << * OK [PERMANENTFLAGS (\Deleted \Seen \*)] Limited
       
    12 << * OK [UIDVALIDITY 1] UIDs valid
       
    13 << 3 OK [READ-WRITE] SELECT completed.
       
    14 >> 4 UID FETCH 1:* (UID FLAGS BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Received Date Subject From Priority X-Priority X-MSMail-Priority Importance)])
       
    15 << * 1 FETCH (UID 3263 FLAGS (\Seen) BODYSTRUCTURE ((("text" "plain" ("charset" "US-ASCII") NIL NIL "7bit" 1023 19 NIL NIL NIL) ("text" "html" ("charset" "US-ASCII") NIL NIL "7bit" 1060 24 NIL NIL NIL) "alternative" ("boundary" " _alternative 0056713280257037_ ") NIL NIL) ("application" "octet-stream" ("name" "test.vcf") NIL NIL "base64" 496 NIL ("attachment" ("filename" "test.vcf")) NIL) "mixed" ("boundary" " _mixed 0056713280257037_ ") NIL NIL) BODY[HEADER.FIELDS (Received Date Subject From)] {463}
       
    16 << Received: from smtp01.symbian.com([10.2.100.7]) by 21cn.com(AIMC 2.9.5.6)
       
    17 << 	with SMTP id jm10842cd95ba; Thr, 07 Jul 2005 23:46:59 +0800
       
    18 << Received: from smtp01.symbian.com([206.165.101.41]) by 21cn.com(AIMC 2.9.5.8)
       
    19 << 	with SMTP id AISP action; Thr, 07 Jul 2005 23:35:00 +0800
       
    20 << Received: from ([10.23.58.99])
       
    21 << 	by smtp01.symbian.com with ESMTP  id KP-GCN69.10474314;
       
    22 << 	Thu, 07 Jul 2005 16:44:12  -0100
       
    23 << Date: Thu, 7 Jul 2005 16:44:10 +0100
       
    24 << Subject: Bismillah 2
       
    25 << 
       
    26 << )
       
    27 << 4 OK UID FETCH completed.
       
    28 >> 5 LIST "" "%"
       
    29 << * LIST (\Marked) "/" Inbox
       
    30 << * LIST (\Marked) "/" Sent
       
    31 << * LIST (\Marked) "/" Draft
       
    32 << * LIST (\Marked) "/" Trash
       
    33 << * LIST (\Marked) "/" Junkmail
       
    34 << * LIST (\Marked) "/" Drafts
       
    35 << * LIST (\Marked) "/" "Junk E-mail"
       
    36 << * LIST (\Marked) "/" "Sent Items"
       
    37 << 5 OK LIST completed.
       
    38 >> 6 LIST "" "INBOX/%"
       
    39 << 6 OK LIST completed.
       
    40 >> 7 LIST "" "Sent/%"
       
    41 << 7 OK LIST completed.
       
    42 >> 8 LIST "" "Draft/%"
       
    43 << 8 OK LIST completed.
       
    44 >> 9 LIST "" "Trash/%"
       
    45 << 9 OK LIST completed.
       
    46 >> 10 LIST "" "Junkmail/%"
       
    47 << 10 OK LIST completed.
       
    48 >> 11 LIST "" "Drafts/%"
       
    49 << 11 OK LIST completed.
       
    50 >> 12 LIST "" "Junk E-mail/%"
       
    51 << 12 OK LIST completed.
       
    52 >> 13 LIST "" "Sent Items/%"
       
    53 << 13 OK LIST completed.
       
    54 >> 14 IDLE
       
    55 << + IDLE accepted, awaiting DONE command.
       
    56 >> DONE
       
    57 << 14 OK IDLE completed.
       
    58 >> 15 UID FETCH 3263 (UID FLAGS BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Received Date Subject From Reply-to To Cc Bcc Message-ID Return-Receipt-To X-Return-Receipt-To Disposition-Notification-To Disposition-Notification-Options Priority X-Priority X-MSMail-Priority Importance)])
       
    59 << * 1 FETCH (UID 3263 FLAGS (\Seen) BODYSTRUCTURE ((("text" "plain" ("charset" "US-ASCII") NIL NIL "7bit" 1023 19 NIL NIL NIL) ("text" "html" ("charset" "US-ASCII") NIL NIL "7bit" 1060 24 NIL NIL NIL) "alternative" ("boundary" " _alternative 0056713280257037_ ") NIL NIL) ("application" "octet-stream" ("name" "test.vcf") NIL NIL "base64" 634 NIL ("attachment" ("filename" "test.vcf")) NIL) "mixed" ("boundary" " _mixed 0056713280257037_ ") NIL NIL) BODY[HEADER.FIELDS (Received Date Subject From Reply-to To Cc Bcc Message-ID Return-Receipt-To X-Return-Receipt-To Disposition-Notification-To Disposition-Notification-Options Priority X-Priority X-MSMail-Priority Importance)] {632}
       
    60 << Received: from smtp01.symbian.com([10.2.100.7]) by 21cn.com(AIMC 2.9.5.6) with SMTP id jm10842cd95ba;
       
    61 << 	 Thr, 07 Jul 2005 23:46:59 +0800
       
    62 << Received: from smtp01.symbian.com([206.165.101.41]) by 21cn.com(AIMC 2.9.5.8) with SMTP id AISP action;
       
    63 << 	 Thr, 07 Jul 2005 23:35:00 +0800
       
    64 << Received: from ([10.23.58.99]) by smtp01.symbian.com with ESMTP  id KP-GCN69.10474314;
       
    65 << 	 Thu, 07 Jul 2005 16:44:12  -0100
       
    66 << Date: Thu, 7 Jul 2005 16:44:10 +0100
       
    67 << Subject: Bismillah 2
       
    68 << From: Sihem.Merah@symbian.com
       
    69 << FROM: sihem.merah@symbian.com
       
    70 << To: cacb2@21cn.com
       
    71 << Message-ID: <OF08FC53DA.8C7AEAC2-ON80257037.00566BEC-80257037.00567134@Symbian.com>
       
    72 << 
       
    73 << )
       
    74 << 15 OK UID FETCH completed.
       
    75 >> 16 UID FETCH 3263 (BODY[1.1]<0.20480> BODY[1.1.MIME])
       
    76 << * 1 FETCH (BODY[1.1]<0.20480> BODY[1.1.MIME]<0> {1023}
       
    77 << Content-Type: text/plain;
       
    78 << 	charset="US-ASCII"
       
    79 << 
       
    80 << 
       
    81 << 
       
    82 << 
       
    83 << ---- ********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London,  SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmast er@symbian.com and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its subsidiaries accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************
       
    84 << 
       
    85 <<  BODY[1.1.MIME] {50}
       
    86 << Content-Type: text/plain;
       
    87 << 	charset="US-ASCII"
       
    88 << 
       
    89 <<  UID 3263)
       
    90 << 16 OK UID FETCH completed.
       
    91 >> 17 UID FETCH 3263 (BODY[1.2]<0.20480> BODY[1.2.MIME])
       
    92 << * 1 FETCH (BODY[1.2]<0.20480> BODY[1.2.MIME]<0> {1060}
       
    93 << Content-Type: text/html;
       
    94 << 	charset="US-ASCII"
       
    95 << 
       
    96 << <HTML><BODY>
       
    97 << <P><hr size=1></P>
       
    98 << <P><STRONG>
       
    99 << ****************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London,  SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@symbian.com and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its subsidiaries accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************
       
   100 << </STRONG></P>
       
   101 << </BODY></HTML>
       
   102 << 
       
   103 <<  BODY[1.2.MIME] {49}
       
   104 << Content-Type: text/html;
       
   105 << 	charset="US-ASCII"
       
   106 << 
       
   107 <<  UID 3263)
       
   108 << 17 OK UID FETCH completed.
       
   109 >> 18 UID FETCH 3263 (BODY[2]<0.20480> BODY[2.MIME])
       
   110 << * 1 FETCH (BODY[2]<0.20480> BODY[2.MIME]<0> {634}
       
   111 << Content-Type: application/octet-stream;
       
   112 << 	name="test.vcf"
       
   113 << Content-Disposition: attachment; filename="test.vcf"
       
   114 << Content-Transfer-Encoding: base64
       
   115 << 
       
   116 << QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOlRlc3Rpbmc7U3ltYmlhbjtWY2FyZDtNcg0KRk46U3ltYmlhbiBWY2FyZCBUZXN0aW5nDQpOSUNLTkFNRTpTeW1ieQ0KVEVMO0hPTUU7Vk9JQ0U6MDEyMjMwMTIyMw0KVEVMO0NFTEw7Vk9JQ0U6MDc5ODA5ODA5ODANCkFEUjtIT01FOjs7O0NhbWJyaWRnZTs7O0VuZ2xhbmQNCkxBQkVMO0hPTUU7RU5DT0RJTkc9UVVPVEVELVBSSU5UQUJMRTpDYW1icmlkZ2U9MEQ9MEFFbmdsYW5kDQpVUkw7SE9NRTpodHRwOi8vd3d3LnN5bWJpYW4uY29tDQpFTUFJTDtQUkVGO0lOVEVSTkVUOnN5bWJ2Y2FyZHRlc3RAc3ltYmlhbi5jb20NClJFVjoyMDAyMTAwMVQxNTE0MDVaDQpFTkQ6VkNBUkQNCg==
       
   117 << 
       
   118 <<  BODY[2.MIME] {150}
       
   119 << Content-Type: application/octet-stream;
       
   120 << 	name="test.vcf"
       
   121 << Content-Disposition: attachment; filename="test.vcf"
       
   122 << Content-Transfer-Encoding: base64
       
   123 << 
       
   124 <<  UID 3263)
       
   125 << 18 OK UID FETCH completed.
       
   126 >> 19 IDLE
       
   127 << + IDLE accepted, awaiting DONE command.
       
   128 >> DONE
       
   129 << 19 OK IDLE completed.
       
   130 >> 20 LOGOUT
       
   131 << * BYE Microsoft Exchange 2000 IMAP4rev1 server version 6.0.6249.0 signing off.
       
   132 << 20 OK LOGOUT completed.