One SmtpClient instance connects, sends one message, and disconnects.
Current connection state.
Send a message. from and to are the envelope MAIL FROM and RCPT TO addresses.
Called on error.
Called when the message is successfully sent.
Called when state changes.
See Implementation
One SmtpClient instance connects, sends one message, and disconnects.