MailBee.NET Objects 3.1

Smtp.ResetState Method 

Resets the internal state of the component.

public void ResetState();

Remarks

This method will close any opened connections, and will remove IsAborted status if Abort method was previously called. Typically, the developer may use this method to reuse the component after it went into aborted state due to Abort method call.

Exceptions

Exception Type Condition
MailBeeException An error occurred and ThrowExceptions is true.

See Also

Smtp Class | MailBee.SmtpMail Namespace