Skip to content

Commit

Permalink
Send failure emails as salilab.org
Browse files Browse the repository at this point in the history
Use our email domain, not the web server hostname.
  • Loading branch information
benmwebb committed Apr 25, 2022
1 parent be938f1 commit bb17332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/saliweb/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _setup_email_logging(app):
if not app.debug:
mail_handler = logging.handlers.SMTPHandler(
mailhost=('localhost', 25),
fromaddr='no-reply@modbase.compbio.ucsf.edu',
fromaddr='no-reply@salilab.org',
toaddrs=[app.config['ADMIN_EMAIL']],
subject='%s web service error' % app.config['SERVICE_NAME'])
mail_handler.setLevel(logging.ERROR)
Expand Down

0 comments on commit bb17332

Please sign in to comment.