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

NAS-132397 / 24.10.2 / XOAUTH2 support for Outlook SMTP #15062

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

themylogin
Copy link
Contributor

No description provided.

@themylogin themylogin requested a review from a team December 2, 2024 13:53
@themylogin
Copy link
Contributor Author

time 8:00

@bugclerk
Copy link
Contributor

bugclerk commented Dec 2, 2024

@bugclerk bugclerk changed the title XOAUTH2 support for Outlook SMTP NAS-132397 / 24.10.2 / XOAUTH2 support for Outlook SMTP Dec 2, 2024
@@ -441,7 +440,7 @@ def send_mail_queue(self):
for queue in list(mq.queue):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just making a comment here and not asking it to be changed in this PR, but we should consider changing _get_smtp_server to a context manager and use the with SMTP** context manager so we actually release resources properly in event of tracebacks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do it in 25.04 after we merge and backport this

@themylogin
Copy link
Contributor Author

@yocalebo yocalebo merged commit fb6a2c7 into stable/electriceel Dec 2, 2024
1 of 2 checks passed
@yocalebo yocalebo deleted the NAS-132397 branch December 2, 2024 14:54
@bugclerk
Copy link
Contributor

bugclerk commented Dec 2, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants