wodSmtpServer ActiveX Control - Security Property
      
 

Description

Determines if SSL is used.


Property type

A SmtpSecurityEnum enumeration.  


Syntax

object.Security [= value]



The Security Property syntax has these parts:

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

Settings

The settings for value are:

Constant Value Description
 SecurityNone 0 No security required.
 SecurityAllowed 1 Security allowed, but not required.
 SecurityRequired 2 Security is required.
 SecurityImplicit 3 Implicit security through SSL wrapper.

Remarks

This property defines if wodSmtpServer will require SSL encryption to be used by clients when they try to deliver the message. You should set it to one of constants defined in SecurityEnum. It defaults to SecurityNone since most mail servers don't support SSL encryption.

When set to SecurityAllowed, then server will accept STARTTLS command, but will not require it for posting a message.

If SecurityRequired is chosen, server will not allow message to be sent unless client sent STARTTLS command.

If SecurityImplicit is chosen, server will negotiate SSL connection even before any (SMTP specific) data is sent through the socket. Usually, server should be running on port 465 when this type is selected.

When you set Security property, make sure Certificate is set also.