Code

SMTP login and TLS support added (sf bug 710853 with extras ;)