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

Fixed email service error during send email #760

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

santhoshb-msft
Copy link
Contributor

This pull request includes several changes to improve email handling and logging in the src/Services directory. The most important changes include removing unnecessary exceptions, improving logging messages, and fixing a typo in variable names.

Email Handling Improvements:

Logging Enhancements:

  • src/Services/Services/SMTPEmailService.cs: Improved the logging messages for SMTP and general exceptions to provide clearer information. Also added a log entry for cases where the email is not sent due to an empty "To" email address.

Typo Fixes:

Removed manual exception throwing when To email are empty
Handled both in SMTPemailservice.
@santhoshb-msft santhoshb-msft changed the title Removed throwing exceptions on formatting issues Fixed email service error during send email Sep 4, 2024
@fthorntonai
Copy link

fthorntonai commented Sep 4, 2024

WIP-Completed

@santhoshb-msft santhoshb-msft merged commit 97978e9 into Azure:main Sep 23, 2024
7 checks passed
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.

2 participants