diff --git a/src/controllers/Mail.py b/src/controllers/Mail.py index d225cde..0bc3692 100644 --- a/src/controllers/Mail.py +++ b/src/controllers/Mail.py @@ -51,8 +51,8 @@ def send(self, subject: str, body_content: str, recipient: list, logfile = None) msg.add_attachment(bs, maintype='text', subtype='plain', filename=attachment) # Send the message via our own SMTP server - # s = smtplib.SMTP('localhost') - s = smtplib.SMTP(socket.getfqdn()) + s = smtplib.SMTP('localhost') + # s = smtplib.SMTP(socket.getfqdn()) s.send_message(msg) s.quit()