I couldn't use my SSL only SMTP server, so looked around for some lua code to add SSL support and it worked! This is my first ever attempt at lua.
smtp_server = "smtp.server.name";
smtp_port = 465;
smtp_username = "some@username";
smtp_password = "secret";
smtp_from = "email@example.com";
The last one isn't really necessary, as I've hacked the module to send "from" the user who sent the recipient the message, so that one's able to press reply in an email client, in order to respond.
Sorry, this should've been added as an enhancement.
I also omitted the version! Prosody 0.8.2
Thanks for the patch! I've given it a quick glance - it seems to do quite a bit more than just add SSL support!
I'm heading out right now, so I'll need to look at it again when I have a little more time to figure out what's what.