42b30d4ac42c984fd1e9d96ae9831e5eebcfd20c
Simplified the `SendEmailAsync` method in the `IEmailService` interface to accept a single `EmailContext` object instead of multiple parameters. Updated the `SendingEmailConsumer` and `LimilabsEmailService` classes to align with this change. In `LimilabsEmailService`, refactored email construction logic to use properties from the `EmailContext` object, including `Sender`, `Recipients`, `Subject`, `Body`, and `IsHtml`. Updated `ConnectAndAuthenticateSmtpAsync` to use the `Sender` property from `EmailContext`. These changes improve code readability, reduce parameter complexity, and ensure consistency across the email service implementation.
DigitalData.MessagingService
Description
Languages
C#
100%