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