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

Call cdashmail() from Notification/Email/Mail.php #2619

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

zackgalbreath
Copy link
Contributor

Fixes #2618

public function getMailer(): Mailer
{
if (!$this->mailer) {
if (config('mail.driver') === 'smtp') {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For context, here's where the bug actually was. mail.driver got renamed to mail.default when we upgraded to Laravel 9 in #1282

Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me. It's worth noting that app/cdash/include/Messaging/Notification/Email/Mail.php is practically unused at this point. I'll clean it up in a separate PR as part of a general clean up of the mail/notifications part of the codebase.

@williamjallen williamjallen added this pull request to the merge queue Dec 16, 2024
Merged via the queue into master with commit b041feb Dec 16, 2024
6 checks passed
@zackgalbreath zackgalbreath deleted the fix_smtp_build_emails branch December 16, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Email notifications failing from workers
2 participants