Skip to content

Commit

Permalink
Evenly apply patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Oct 3, 2023
1 parent f516987 commit a44cbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marrow/mailer/transport/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def shutdown(self):
def connect_to_server(self):
if self.tls == 'ssl': # pragma: no cover
if PY35_OR_LATER:
connection = SMTP_SSL(local_hostname=self.local_hostname, keyfile=self.keyfile,
certfile=self.certfile, timeout=self.timeout)
connection = SMTP_SSL(self.host, port=self.port, local_hostname=self.local_hostname,
keyfile=self.keyfile, certfile=self.certfile, timeout=self.timeout)
else:
connection = SMTP_SSL(local_hostname=self.local_hostname, keyfile=self.keyfile,
certfile=self.certfile, timeout=self.timeout)
Expand Down

0 comments on commit a44cbc9

Please sign in to comment.