1<testcase> 2<info> 3<keywords> 4SMTP 5SMTP AUTH PLAIN 6RFC4616 7RFC4954 8</keywords> 9</info> 10 11# 12# Server-side 13<reply> 14<servercmd> 15REPLY EHLO 220 AUTH PLAIN 16REPLY AUTH 235 Authenticated 17</servercmd> 18</reply> 19 20# 21# Client-side 22<client> 23<server> 24smtp 25</server> 26 <name> 27SMTP plain authentication 28 </name> 29<stdin> 30mail body 31</stdin> 32 <command> 33smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 805@foo --mail-from 805@from -u test:1234 -T - 34</command> 35</client> 36 37# 38# Verify data after the test has been "shot" 39<verify> 40<protocol> 41EHLO user 42AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= 43MAIL FROM:<805@from> 44RCPT TO:<805@foo> 45DATA 46QUIT 47</protocol> 48<upload> 49mail body 50 51. 52</upload> 53</verify> 54</testcase> 55