Click or drag to resize
SmtpCheckDetails Constructor
This API is preliminary and subject to change.
Initializes a new instance of the SmtpCheckDetails class with the specified parameters.

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public SmtpCheckDetails(
	Nullable<int> port,
	string ehlo,
	string from,
	string to,
	string payload,
	Nullable<bool> startTls
)

Parameters

port
Type: SystemNullableInt32
The port to use for connecting to the remote service. If this value is , the default port (25) for the associated service should be used.
ehlo
Type: SystemString
The EHLO parameter of the SMTP message to send.
from
Type: SystemString
The From parameter of the SMTP message to send.
to
Type: SystemString
The To parameter of the SMTP message to send. If the value is , a quit is issued before sending a To line, and the connection is terminated.
payload
Type: SystemString
The body of the message to send.
startTls
Type: SystemNullableBoolean
to use a TLS/SSL connection when connecting to the service; otherwise, .
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf port is less than or equal to 0, or if port is greater than 65535.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also