normanmaurer/niosmtp — pull request #30 by suiryc (2012-07-25 13:41:19+00:00)
Title: Do not insert extra space between 'MAIL FROM'/'RCPT TO' commands and the given argument

Actually (RFC 5321) there is no space between the 'MAIL FROM' or 'RCPT TO' command and its argument. The separation between one of those commands and its argument is only the colon character.
Some servers (e.g. cyrus LMTP) fail if there is a space.

This pull request points to a commit that fixes the issue. I simply adapted the current code to have the separator as a new optional parameter when creating an SMTP command. Of course, feel free to fix the issue in any other way you think is more adapted.

Regards