xref: /curl/tests/data/test895 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6FETCH
7--login-options
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15From: me@somewhere
16To: fake@nowhere
17
18body
19
20--
21  yours sincerely
22</data>
23</reply>
24
25#
26# Client-side
27<client>
28<server>
29imap
30</server>
31<name>
32IMAP with --login-options 'AUTH=*'
33</name>
34<command>
35'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u '"user:sec"ret{' --login-options 'AUTH=*'
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43A001 CAPABILITY
44A002 LOGIN "\"user" "sec\"ret{"
45A003 SELECT %TESTNUMBER
46A004 FETCH 1 BODY[]
47A005 LOGOUT
48</protocol>
49</verify>
50</testcase>
51