xref: /third_party/curl/tests/data/test799 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciIMAP
513498266Sopenharmony_ciClear Text
613498266Sopenharmony_ciSASL AUTH +LOGIN
713498266Sopenharmony_ci</keywords>
813498266Sopenharmony_ci</info>
913498266Sopenharmony_ci
1013498266Sopenharmony_ci#
1113498266Sopenharmony_ci# Server-side
1213498266Sopenharmony_ci<reply>
1313498266Sopenharmony_ci<servercmd>
1413498266Sopenharmony_ciAUTH PLAIN
1513498266Sopenharmony_ciREPLY LOGIN A002 OK LOGIN completed
1613498266Sopenharmony_ci</servercmd>
1713498266Sopenharmony_ci<data>
1813498266Sopenharmony_ciFrom: me@somewhere
1913498266Sopenharmony_ciTo: fake@nowhere
2013498266Sopenharmony_ci
2113498266Sopenharmony_cibody
2213498266Sopenharmony_ci
2313498266Sopenharmony_ci--
2413498266Sopenharmony_ci  yours sincerely
2513498266Sopenharmony_ci</data>
2613498266Sopenharmony_ci</reply>
2713498266Sopenharmony_ci
2813498266Sopenharmony_ci#
2913498266Sopenharmony_ci# Client-side
3013498266Sopenharmony_ci<client>
3113498266Sopenharmony_ci<server>
3213498266Sopenharmony_ciimap
3313498266Sopenharmony_ci</server>
3413498266Sopenharmony_ci<name>
3513498266Sopenharmony_ciIMAP with --login-options 'AUTH=+LOGIN'
3613498266Sopenharmony_ci</name>
3713498266Sopenharmony_ci<command>
3813498266Sopenharmony_ci'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --login-options AUTH=+LOGIN
3913498266Sopenharmony_ci</command>
4013498266Sopenharmony_ci</client>
4113498266Sopenharmony_ci
4213498266Sopenharmony_ci#
4313498266Sopenharmony_ci# Verify data after the test has been "shot"
4413498266Sopenharmony_ci<verify>
4513498266Sopenharmony_ci<protocol>
4613498266Sopenharmony_ciA001 CAPABILITY
4713498266Sopenharmony_ciA002 LOGIN user secret
4813498266Sopenharmony_ciA003 SELECT %TESTNUMBER
4913498266Sopenharmony_ciA004 FETCH 1 BODY[]
5013498266Sopenharmony_ciA005 LOGOUT
5113498266Sopenharmony_ci</protocol>
5213498266Sopenharmony_ci</verify>
5313498266Sopenharmony_ci</testcase>
54