Description
-
Determines if SSL is used.
Property type
-
An ImapSecurityEnum
enumeration.
Syntax
-
object.Security [= value]
The Security Property syntax has these parts:
Settings
-
The settings for value are:
|
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 wodImapServer will require SSL
encryption to be used by clients when they try to read
messages. You should set it to one of constants defined in
ImapSecurity. It defaults to SecurityNone since most mail clients don't
use SSL encryption by default.
When set to SecurityAllowed, then
server will accept STARTTLS
command, but will not require it for accessing messages.
If SecurityRequired is chosen, server
will not allow messages to be accessed unless client sent
STARTTLS command.
If SecurityImplicit is chosen, server
will negotiate SSL connection even before any (IMAP specific)
data is sent through the socket. Usually, server should be
running on port 993 when this type is selected.
When you set Security property, make sure Certificate
is set also.
|