Archived Forum Post

Index of archived forum posts

Question:

SMTP defaulting to login_method: LOGIN with empty username/password

Aug 27 '13 at 15:13

We're using MailMan2, 9.4.0, activex version.

We're having a problem with SMTP authentication when we connect to a server that does not require authentication. The control is logging the following:

SmtpCmdResp: 250-CHUNKING    
SmtpCmdResp: 250 XEXCH50
helloResponse: Elapsed time: 32 millisec
This SMTP server did not list authentication methods.
Defaulting to LOGIN authentication method.
login_method: LOGIN
auth_login_1:
SmtpCmdSent: AUTH LOGIN
SmtpCmdResp: 504 5.7.4 Unrecognized authentication type
504 5.7.4 Unrecognized authentication type
Failed to send AUTH LOGIN

However, we're not setting the SmtpUsername & SmtpPassword properties, so it shouldn't try to authenticate at all, according to this question smtp-authentication-defaults-changed-in-latest-version

We can set the SmtpAuthMethod to NONE, if that will help, however that requires a code change to be pushed to our customers. Is that the fix? Or maybe was there a change to the mailman2 control?


Accepted Answer

Make sure to always post the entire LastErrorText, because seeing the version of Chilkat you are using is important. This issue is something that was fixed in v9.4.1, so I suspect you are not using the latest version..