wodSmtpServer ActiveX Control - SmtpAuthentications Enumeration
    
 

Description

SmtpAuthentications is a choice of authentication methods supported internally by wodSmtpServer. You should set Authentication property to one of above values (or combination of them, for values 4, 8 and 16).

AuthInvalid is the default value - meaning that error will be generated if the client tries to authenticate with the server.

AuthNone means that server does not reject non authenticated users, but still allows them to authenticate if they want to.

AuthAny means authentication is required - no matter which one client tries to use, but it must use *some* authentication. Trying to send mail without being authenticated will generate error by the server.

AuthLogin means that server accepts AUTH LOGIN type.

AuthPlain means that server accepts AUTH PLAIN type.

AuthCramMD5 means that server accepts CRAM-MD5 authentication type. Use User.CalcCramMD5 method to determine if client supplied correct credentials.




Members
Constant Value Description
 AuthInvalid 0 No authentication allowed.
 AuthNone 1 No authentication required.
 AuthAny 2 Any authentication is required.
 AuthLogin 4 Authentication using LOGIN type.
 AuthPlain 8 Authentication using PLAIN type.
 AuthCramMD5 16 Authentication using CRAM-MD5 type.