Struppi: MIME::lite mit Authentifizierung bei 1&1

Beitrag lesen

Bei Dir sieht der Auth-Befehl anders aus:
$smtp->auth('LOGIN', $user, $pass) or die "not auth";

http://search.cpan.org/~apleiner/Net-SMTP_auth-0.08/SMTP_auth.pm#METHODS

Was hat hier 'LOGIN' für eine Bewandnis, im CPAN ist nur die Übergabe von user und password dokumentiert.

Das lese ich anders:
 auth ( AUTH, USER, PASSWORD )

Authenticates the user USER via the authentication method AUTH and the password PASSWORD. Returns true if successful and false if the authentication failed. Remember that the connection is not closed if the authentication fails. You may issue a different authentication attempt. If you once are successfully authenticated, you cannot send the AUTH command again.

The AUTH method NTLM is supported via Authen::NTLM (thanks to James Fryman).

Struppi.