]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test903
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test903
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 SMTP AUTH PLAIN
6 RFC4616
7 RFC4954
8 </keywords>
9 </info>
10
11 #
12 # Server-side
13 <reply>
14 <servercmd>
15 REPLY EHLO 250 AUTH PLAIN
16 REPLY AUTH 334 PLAIN supported
17 REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated\r
18 </servercmd>
19 </reply>
20
21 #
22 # Client-side
23 <client>
24 <server>
25 smtp
26 </server>
27  <name>
28 SMTP plain authentication
29  </name>
30 <stdin>
31 mail body\r
32 </stdin>
33  <command>
34 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1234 -T -
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <protocol>
42 EHLO user\r
43 AUTH PLAIN\r
44 dGVzdAB0ZXN0ADEyMzQ=\r
45 MAIL FROM:<903@from>\r
46 RCPT TO:<903@foo>\r
47 DATA\r
48 QUIT\r
49 </protocol>
50 <upload>
51 mail body\r
52 .\r
53 </upload>
54 </verify>
55 </testcase>