Dans l’exemple ci-dessous, le login et le password sont encodés en base64 avec base64encode.org
telnet
OPEN smtp.mandrillapp.com 587
Trying 54.78.186.219...
Connected to smtp.mandrillapp.com.
Escape character is '^]'.
220 smtp.mandrillapp.com ESMTP
EHLO mondomaine.fr
250-relay-5.eu-west-1.relay-prod
250-PIPELINING
250-SIZE 26214400
250-STARTTLS
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 CHUNKING
AUTH LOGIN
334 VXNlcm5hbWU6
[login encodé en base64]
334 UGFzc3dvcmQ6
[password encodé en base64]
235 2.7.0 Authentication successful
MAIL FROM:<webmaster@mondomaine.fr>
250 2.1.0 Ok
RCPT TO:<support@mondomaine.fr>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
from: webmaster@mondomaine.fr
to: support@mondomaine.fr
subject: test
Test2
.
250 2.0.0 Ok: queued as 8239C3A0700
QUIT
221 2.0.0 Bye
Connection closed by foreign host.