##// END OF EJS Templates
mailer: use default port for mails
marcink -
r3197:3a7132a3 stable
parent child Browse files
Show More
@@ -79,7 +79,7 b' def send_email(recipients, subject, body'
79 # translate our LEGACY config into the one that pyramid_mailer supports
79 # translate our LEGACY config into the one that pyramid_mailer supports
80 email_conf = dict(
80 email_conf = dict(
81 host=mail_server,
81 host=mail_server,
82 port=email_config.get('smtp_port'),
82 port=email_config.get('smtp_port', 25),
83 username=email_config.get('smtp_username'),
83 username=email_config.get('smtp_username'),
84 password=email_config.get('smtp_password'),
84 password=email_config.get('smtp_password'),
85
85
General Comments 0
You need to be logged in to leave comments. Login now