19 REPLY AUTH 235 Authenticated
30 SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response
36 smtp://%HOSTIP:%SMTPPORT/947 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
38 # The protocol section doesn't support ways of specifying the raw data in the
39 # base64 encoded message so we must assert this
41 perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%SMTPPORT' ne '9005' );"
46 # Verify data after the test has been "shot"
50 AUTH OAUTHBEARER dXNlcj11c2VyAWhvc3Q9MTI3LjAuMC4xAXBvcnQ9OTAwNQFhdXRoPUJlYXJlciBtRl85LkI1Zi00LjFKcU0BAQ==
51 MAIL FROM:<sender@example.com>
52 RCPT TO:<recipient@example.com>