Also, not putting the brackets around the email address in the MAIL and RCPT commands. Mail servers are very accepting but it is best to follow the standards especially when it is trivial to do so. They should be:
MAIL FROM:<from@example.com>
RCPT TO:<to@example.com>