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