SmtpException Constructor (SmtpStatusCode, String)

Initializes a new instance of the SmtpException class

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public SmtpException(
	SmtpStatusCode statusCode,
	string message
)

Parameters

statusCode
Type: Aspose.Email.Clients.SmtpSmtpStatusCode
Smtp status code
message
Type: SystemString
Error message
See Also