Added support for SMTPs with plain and none auth -patch by Flaviano Tresoldi