mailer: use default port for mails
This commit is contained in:
parent
82ff054d90
commit
408bc55db2
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def send_email(recipients, subject, body='', html_body='', email_config=None):
|
|||
# translate our LEGACY config into the one that pyramid_mailer supports
|
||||
email_conf = dict(
|
||||
host=mail_server,
|
||||
port=email_config.get('smtp_port'),
|
||||
port=email_config.get('smtp_port', 25),
|
||||
username=email_config.get('smtp_username'),
|
||||
password=email_config.get('smtp_password'),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue