Fix SmtpClient attributes and allow compatability with older Python versions. Fixes #1.