-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional Reply-to SMTP header in tool error reports #17243
Optional Reply-to SMTP header in tool error reports #17243
Conversation
lib/galaxy/util/__init__.py
Outdated
@@ -1551,6 +1554,9 @@ def send_mail(frm, to, subject, body, config, html=None): | |||
msg.attach(mp_text) | |||
msg.attach(mp_html) | |||
|
|||
if reply_to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it ever make sense not to do this ? I'd be in favor of not making this configurable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say not - people can just choose to ignore the header in downstream applications. And if not, I can't see them ever wanting to reply to their Galaxy server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mvdbeek I have removed configuration
Thank you @neoformit! |
Resolves #16248.
error_email_reply_to_user <bool>
true
, tool error emails will have SMTPReply-to
header set touser.email
License