Here's a slightly more verbose readme, including the comments from above that I forgot at first, the rest of the files in the archive are exactly the same, I woiuld just delete the earlier archive and upload this but couldn't find out how. Anyway this should be a bit more self contained and should run out of the box as long as you put in a good end point and SMTP server config.