ImapClient Constructor (String, ConnectionSecurity, Boolean) |
Initializes new instance of
ImapClient class with specified host address,
ConnectionSecurity option and option to ignore SSL certificate errors.
Namespace:
GemBox.Email.Imap
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1026
Syntax public ImapClient(
string host,
ConnectionSecurity security,
bool acceptAnyCertificate
)
Public Sub New (
host As String,
security As ConnectionSecurity,
acceptAnyCertificate As Boolean
)
Parameters
- host
- Type: SystemString
The address of the server. - security
- Type: GemBox.Email.SecurityConnectionSecurity
A constant that determines connection security level. - acceptAnyCertificate
- Type: SystemBoolean
True to ignore any SSL certificate errors; otherwise, false.
See Also