normanmaurer/niosmtp — pull request #25 by rocketraman (2012-03-17 15:08:25+00:00)
Title: If EHLO fails, transition to HELO

If the EHLO command fails, we check if we depend on pipelining or starttls.
If either is required, then immediately throw an Exception, since extended
SMTP is required for either one.

If neither is required, then try sending a HELO command for non-extended
SMTP.