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.MonitoringAssembly: 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
)
Public Sub New (
port As Nullable(Of Integer),
ehlo As String,
from As String,
to As String,
payload As String,
startTls As Nullable(Of Boolean)
)
public:
SmtpCheckDetails(
Nullable<int> port,
String^ ehlo,
String^ from,
String^ to,
String^ payload,
Nullable<bool> startTls
)
new :
port : Nullable<int> *
ehlo : string *
from : string *
to : string *
payload : string *
startTls : Nullable<bool> -> SmtpCheckDetails
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 Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also