-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
fixes event#64: Send event confirmation to submitted email address #21669
Conversation
(Standard links)
|
Thanks for the patch I can take a look. I think this is addressing the same (or similar) problem that #18984 was. |
@demeritcowboy Yes, this seems like it's the same as #18984. I see Eileen requested a test there, I'll see what I can do about that. It's a little tricky because it's form-level but we'll work it out. |
Great, thanks. |
OK - I incorporated feedback from #18984. I've changed the variable name so that we don't accidentally reuse an old one, changed the thank-you page email to match the confirmation email recipient, and added a test. |
Thanks - I should be able to look tomorrow. |
There are some other unusual use-cases which I'd say ignore for now but just noting that if email is optional and you leave it blank, then there's a mismatch:
There's also a pre-existing weirdness that if there is no primary and you don't enter an email, then the Thank-you page says "A registration confirmation email has also been sent to", with no email listed. |
Overview
An event registration that's submitted with an email that differs from the (existing) contact's primary email will go to the primary email. It should go to the submitted email.
Before
Event registration confirmations go to the existing primary email.
After
Event registration confirmations go to the email submitted.
Technical Details
My last line isn't necessary - the Manage Event screen won't allow you to enable email confirmations if we don't ask for an email, so it should always be present. But who knows what those extension writers get up to?