-
Notifications
You must be signed in to change notification settings - Fork 16
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
User profile end-of-life #928
base: master
Are you sure you want to change the base?
Conversation
$domain = Config::$email_domain; | ||
$long_name = Config::$long_name; | ||
$short_name = Config::$short_name; | ||
mail( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be an existing send mail function somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment immediately above:
We use mail() manually to avoid hacking with the innards of MyRadioEmail (as it'd refuse to send due to receive_email being false)
You do have a valid point though, and it may be better to refactor MRE to allow "send immediately, even if they've opted out".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - can't say I can confirm the php entirely (so I won't approve) but I don't see any obvious issues throughout
See the RFC for context: https://docs.google.com/document/d/1KluuaMP7OnDT_s8e0ED_C0KDD6fgXae3riJi1BZYza0/edit#