Alona Rossen wrote:

> We observed duplication of user name when sending emails via SMTP
protocol with curl 7.21.0.

>     AUTH PLAIN YWxvbmEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

>     AUTH LOGIN XXXXXXXXXXXXXXXXXXXXXXXXX

You are comparing two different authentication mechanisms: PLAIN and
LOGIN

For an explanantion why userid is duplicated in the AUTH PLAIN
mechanism, see
http://tools.ietf.org/rfc/rfc4616.txt top of page 3, message =... and
the related comments.

As an illustration, see paragraphs "Example SMTP AUTH Session using AUTH
PLAIN" and "Example SMTP AUTH Session using AUTH LOGIN" on page at
http://www.gadgetwiz.com/protocols/smtp-auth-example.html.

Patrick

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to