Implementation of a SMTP server.