Skip to content

Conversation

@markspolakovs
Copy link
Member

@markspolakovs markspolakovs commented Aug 23, 2020

$domain = Config::$email_domain;
$long_name = Config::$long_name;
$short_name = Config::$short_name;
mail(
Copy link
Member

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

Copy link
Member Author

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".

Copy link
Contributor

@cs-endo cs-endo left a 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

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.

4 participants