Description
-
Determines if SSL is used when connecting to the
server.
Property type
-
A SmtpSecurityEnum
enumeration.
Syntax
-
object.Security [= value]
The Security Property syntax has these parts:
object |
An expression
evaluating to an object of type SmtpRelay. |
value |
A
SmtpSecurityEnum enumeration, as described in
settings. |
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 relay will use SSL encryption
when trying to deliver email to the server. You should set
it to one of constants defined in SecurityEnum.
It defaults to SecurityNone since most mail
servers don't support SSL encryption.
|