Thanks to everyone for all the feedback and advice, it's been *extremely* helpful. One thing I've not been able to find is an Erlang implementation of an SMTP server, whether real or just a prototype. Does anyone have such a thing? I thought it would be useful to use as a reference and to help get me started quicker.