wodSmtpServer ActiveX Control - Authentication Property
      
 

Description

Determines authentication type used by the relay.


Property type

A SmtpAuthentications enumeration.  


Syntax

object.Authentication [= value]



The Authentication Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpRelay.
value A SmtpAuthentications enumeration, as described in settings.

Settings

The settings for value are:

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.

Remarks

Authentication property is used when relay needs to authenticate (using any of supports authentication types) to the server when he posts a message. If authentication fails, Relay will stop delivering message and change its state to disabled.

If you choose to use authentication, you should set Login and Password properties as well.