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

roster_reminder.php breaks if PHP_MAIL=1 is set #770

Closed
jefft opened this issue Mar 16, 2022 · 0 comments
Closed

roster_reminder.php breaks if PHP_MAIL=1 is set #770

jefft opened this issue Mar 16, 2022 · 0 comments

Comments

@jefft
Copy link
Contributor

jefft commented Mar 16, 2022

roster_reminder.php will normally uses SwiftMailer, but can be configured to use PHP's mail() if the PHP_MAIL=1 flag is set in the .ini config file.

Doing so results in a notice:

Notice: Undefined variable: emails_string in /srv/www/jethro/2.31.1/scripts/roster_reminder.php on line 311

and emails don't go out to anyone except the roster coordinator.

tbar0970 added a commit that referenced this issue Mar 17, 2022
Get emails working if PHP_MAIL=1 is set. Fixes #770
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

No branches or pull requests

1 participant