Two feature requests for the new Email Notification driver

I was excited to see native SMTP support introduced in a recent update.

Two bugs/feature requests ...

  • Support for the STARTTLS SMTP command to enable TLS after initial plain text connections. (See RFC 3207 for more details.)

  • Per RFC 5321, Send the "QUIT" command to properly terminate the SMTP session before closing the connection, even if the server responds with an error.

Happy to provide more details if desired.

Tagging @gopher.ny