Click or drag to resize

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: 13.0.35.1003
Syntax
public SmtpClient(
	string host,
	bool acceptAnyCertificate
)

Parameters

host
Type: SystemString
The address of the server.
acceptAnyCertificate
Type: SystemBoolean
True to ignore any SSL certificate errors; otherwise, false.
See Also