SmtpException Constructor (String, Exception, MailMessage)

Initializes a new instance of the SmtpException class

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.9
Syntax
public SmtpException(
	string message,
	Exception innerException,
	MailMessage mailMessage
)

Parameters

message
Type: SystemString
Error message
innerException
Type: SystemException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
mailMessage
Type: Aspose.EmailMailMessage
See Also