Erlang SMTP and POP3 server code.