nytlabs/streamtools — pull request #407 by jprobinson (2014-04-19 19:47:02+00:00)
Title: reusing SMTP connection for ToEmail

The original ToEmail block would reconnect and close the SMTP connection for each send. After some time and a lot of emails, Gmail (and likely other email providers) would get angry and start rejecting connections.

To solve this problem, I've changed the block to reuse the same SMTP connection.