Skip to content

Enqueue support for Mailer#7103

Draft
Hinton wants to merge 1 commit intomainfrom
arch/mailer-enqueue
Draft

Enqueue support for Mailer#7103
Hinton wants to merge 1 commit intomainfrom
arch/mailer-enqueue

Conversation

@Hinton
Copy link
Member

@Hinton Hinton commented Feb 27, 2026

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-32842

📔 Objective

Adds enqueue support to IMailer which enqueues the emails rather than sending them immediately. To achieve this we had to add two new fields to IMailQueueMessage, IsMailerMessage which indicates where to route the message and MetaData.

Still need to test this.

📸 Screenshots

@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details05923a41-06d7-448b-86a9-8afd7fb8780b

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 64.06250% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.71%. Comparing base (9ca1874) to head (fc0cb3a).

Files with missing lines Patch % Lines
...dmin/HostedServices/AzureQueueMailHostedService.cs 0.00% 13 Missing ⚠️
src/Core/Platform/Mail/Mailer/Mailer.cs 79.59% 6 Missing and 4 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7103   +/-   ##
=======================================
  Coverage   56.70%   56.71%           
=======================================
  Files        2013     2013           
  Lines       88191    88246   +55     
  Branches     7861     7867    +6     
=======================================
+ Hits        50008    50048   +40     
- Misses      36363    36375   +12     
- Partials     1820     1823    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant