Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Oct 16, 2024
1 parent 9886710 commit e5b4ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/Mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit e5b4ec9

Please sign in to comment.