Skip to content
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

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

neoformit
Copy link
Collaborator

Resolves #16248.

  • New config var error_email_reply_to_user <bool>
  • When true, tool error emails will have SMTP Reply-to header set to user.email

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@@ -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:
Copy link
Member

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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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

@mvdbeek mvdbeek merged commit fd45e1b into galaxyproject:dev Jan 11, 2024
51 of 52 checks passed
@mvdbeek
Copy link
Member

mvdbeek commented Jan 11, 2024

Thank you @neoformit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: add Reply-to header with error email
2 participants