113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciIMAP 513498266Sopenharmony_ciClear Text 613498266Sopenharmony_ciFETCH 713498266Sopenharmony_ci</keywords> 813498266Sopenharmony_ci</info> 913498266Sopenharmony_ci 1013498266Sopenharmony_ci# 1113498266Sopenharmony_ci# Server-side 1213498266Sopenharmony_ci<reply> 1313498266Sopenharmony_ci<data> 1413498266Sopenharmony_cibody 1513498266Sopenharmony_ci 1613498266Sopenharmony_ci-- 1713498266Sopenharmony_ci yours sincerely 1813498266Sopenharmony_ci</data> 1913498266Sopenharmony_ci<servercmd> 2013498266Sopenharmony_ciPOSTFETCH extra stuff sent in the envelope after the body 2113498266Sopenharmony_ci</servercmd> 2213498266Sopenharmony_ci</reply> 2313498266Sopenharmony_ci 2413498266Sopenharmony_ci# 2513498266Sopenharmony_ci# Client-side 2613498266Sopenharmony_ci<client> 2713498266Sopenharmony_ci<server> 2813498266Sopenharmony_ciimap 2913498266Sopenharmony_ci</server> 3013498266Sopenharmony_ci<name> 3113498266Sopenharmony_ciIMAP and envelope meta data after body transfer 3213498266Sopenharmony_ci</name> 3313498266Sopenharmony_ci<command> 3413498266Sopenharmony_ci'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' -u user:secret -D %LOGDIR/head-%TESTNUMBER 3513498266Sopenharmony_ci</command> 3613498266Sopenharmony_ci</client> 3713498266Sopenharmony_ci 3813498266Sopenharmony_ci# 3913498266Sopenharmony_ci# Verify data after the test has been "shot" 4013498266Sopenharmony_ci<verify> 4113498266Sopenharmony_ci<protocol> 4213498266Sopenharmony_ciA001 CAPABILITY 4313498266Sopenharmony_ciA002 LOGIN user secret 4413498266Sopenharmony_ciA003 SELECT %TESTNUMBER 4513498266Sopenharmony_ciA004 FETCH 123 BODY[1] 4613498266Sopenharmony_ciA005 LOGOUT 4713498266Sopenharmony_ci</protocol> 4813498266Sopenharmony_ci<file name="%LOGDIR/head-%TESTNUMBER"> 4913498266Sopenharmony_ci _ _ ____ _ 5013498266Sopenharmony_ci ___| | | | _ \| | 5113498266Sopenharmony_ci / __| | | | |_) | | 5213498266Sopenharmony_ci | (__| |_| | _ {| |___ 5313498266Sopenharmony_ci \___|\___/|_| \_\_____| 5413498266Sopenharmony_ci* OK curl IMAP server ready to serve 5513498266Sopenharmony_ciA001 BAD Command 5613498266Sopenharmony_ciA002 OK LOGIN completed 5713498266Sopenharmony_ci* 172 EXISTS 5813498266Sopenharmony_ci* 1 RECENT 5913498266Sopenharmony_ci* OK [UNSEEN 12] Message 12 is first unseen 6013498266Sopenharmony_ci* OK [UIDVALIDITY 3857529045] UIDs valid 6113498266Sopenharmony_ci* OK [UIDNEXT 4392] Predicted next UID 6213498266Sopenharmony_ci* FLAGS (\Answered \Flagged \Deleted \Seen \Draft) 6313498266Sopenharmony_ci* OK [PERMANENTFLAGS (\Deleted \Seen \*)] Limited 6413498266Sopenharmony_ciA003 OK [READ-WRITE] SELECT completed 6513498266Sopenharmony_ci* 123 FETCH (BODY[1] {31} 6613498266Sopenharmony_ciextra stuff sent in the envelope after the body) 6713498266Sopenharmony_ciA004 OK FETCH completed 6813498266Sopenharmony_ci</file> 6913498266Sopenharmony_ci</verify> 7013498266Sopenharmony_ci</testcase> 71