simple TLS/SSL mail methods implemented & tested. they need to be
re-written