diff --git a/marrow/mailer/transport/smtp.py b/marrow/mailer/transport/smtp.py index 3f93489..3e141f3 100644 --- a/marrow/mailer/transport/smtp.py +++ b/marrow/mailer/transport/smtp.py @@ -68,7 +68,7 @@ def shutdown(self): def connect_to_server(self): if self.tls == 'ssl': # pragma: no cover - connection = SMTP_SSL(local_hostname=self.local_hostname, keyfile=self.keyfile, + connection = SMTP_SSL(host=None, local_hostname=self.local_hostname, keyfile=self.keyfile, certfile=self.certfile, timeout=self.timeout) else: connection = SMTP(local_hostname=self.local_hostname, timeout=self.timeout)