Back to product page

Authentication Property


Determines authentication type with the server.

Type

A SmtpAuthentications enumeration.

Syntax

  • Basic
object.Authentication [= value]
The Authentication(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSmtp
valueA SmtpAuthentications enumeration, as described in settings.

Remarks

Authentication property determines if wodSmtp will try to authenticate with the SMTP server. If you set this value to anything other than AuthNone, then you must also set Login and Password properties with your credentials.

This property must be set before you call Connect or SendMessage methods.

If set to AuthAuto, component will try to determine supported authentication methods. It will check capabilities shown in Connected event, and act on AUTH capabilities presented by the server.

Platforms

Windows