An event driven SMTP server