Closed frankyjquintero closed 2 months ago
Hi,
Sorry for a very delayed response. AUTH LOGIN is defined by this document: https://www.ietf.org/archive/id/draft-murchison-sasl-login-00.txt (in general this method is obsolete and was never an official standard: https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml).
The standard doesn't define a possibility to send username in the same line as AUTH LOGIN
command. In general AUTH PLAIN
should be used instead - it's the recommended (not obsolete) method and it supports passing username and password as an argument.
LOGIN authentication must be set in some scenarios the login argument sends user at the same time
https://github.com/zabszk/CSharp-SMTP-Server/blob/c23f9adae7859ab7aa310b0973d6d222e7a77219/CSharp-SMTP-Server/Protocol/Commands/AuthenticationCommands.cs#L25-L38