Use smtplib sendmail
the only way i've been able to get smtplib to send an email is by using smtplib.SMTP.sendmail
and removing the smtplib.SMTP.login
line. tor-weather doesn't need a long-lasting connection to the smtp server, so using sendmail is preferable to manually creating a connection, sending an email, and manually closing the connection.
the sendmail code was taken from the smtplib documentation example.
marked as a draft because this MR builds on !49 (merged)
Edited by Kez