discourse/spec/lib/email
Martin Brennan f057866070
FEATURE: Add X-Discourse-Sender Header to outgoing mail (#33123)
When there is a relevant `username` associated with an outgoing email,
like in the case of post notifications, the `X-Discourse-Sender` header
will be added to the email, indicating the sender's username.

This mimics the `X-GitHub-Sender` header used by GitHub, which is useful
for filtering and categorizing emails based on the sender.
2025-06-10 10:45:31 +10:00
..
authentication_results_spec.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
cleaner_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
email_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
message_builder_spec.rb FEATURE: Add X-Discourse-Sender Header to outgoing mail (#33123) 2025-06-10 10:45:31 +10:00
processor_spec.rb DEV: Don’t replace Rails logger in specs (#29721) 2024-11-13 08:47:39 +08:00
receiver_spec.rb FEATURE: Improve use_email_for_username_and_name_suggestions (#30845) 2025-01-21 13:04:48 +00:00
renderer_spec.rb DEV: Reset DiscoursePluginRegistry after spec (#25369) 2024-01-22 08:51:36 -06:00
sender_spec.rb DEV: Preserve ids/classes in emails (#32084) 2025-03-31 20:58:45 +01:00
styles_spec.rb DEV: Preserve ids/classes in emails (#32084) 2025-03-31 20:58:45 +01:00