DotNetOpenMail 0.5.7 (beta)

SmtpResponse.GetException Method 

Convert this response to an exception

[Visual Basic]
Public Function GetException() As SmtpException
[C#]
public SmtpException GetException();
[C++]
public: SmtpException* GetException();
[JScript]
public function GetException(): SmtpException;

Return Value

The SmtpException corresponding to this response

See Also

SmtpResponse Class | DotNetOpenMail Namespace