[NO TESTS] WIP
This commit is contained in:
parent
5f26ac7629
commit
cd28e3dafe
3 changed files with 150 additions and 3 deletions
projects/tentacles/src
|
@ -10,8 +10,8 @@ import smtplib
|
|||
class FastMailSMTP(smtplib.SMTP_SSL):
|
||||
"""A wrapper for handling SMTP connections to FastMail."""
|
||||
|
||||
def __init__(self, username, password):
|
||||
super().__init__("mail.messagingengine.com", port=465)
|
||||
def __init__(self, username, password, host="smtp.fastmail.com", port=465):
|
||||
super().__init__(host=host, port=port)
|
||||
self._username = username
|
||||
self._password = password
|
||||
self._has_logged_in = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue