|
hello, After calling login method, with the Rebex.Net.SmtpAuthentication.Auto option set: Is there a way to know which authentication method has been used by the component to log in? (without analyzing the ESMTP dialog ? thanks and best regards, fritz |
|
This is not possible at the moment, although adding this feature to one of the future releases sounds like a good idea! However, analyzing the SMTP communication to detect this is not very hard. You can use the following class for this purpose: C#:
Then, instead of calling smtp.Login(userName, password, method), call AuthenticationMethodDetector.Login - it returns the selected authentication method. If you prefer VB.NET, please let me know! thanks Lukas.
(23 Jun '10, 07:33)
Fritz
|
|
i prefer, in vb.net please Ivan Monroy |