Lines sent to SMTP server need to be terminated with \r\n, not \n.

Lines sent to SMTP server need \r\n, not just \n