ok, lists of addresses need to be a list in the call to sendmail(),
    but when MIME encoding the message (headers), the To: line must be a string. And there must be a space after the commas.
using the right variable...
Merge pull request #2 from manos/fix-smtp-usage

ok, lists of addresses need to be a list in the call to sendmail(),