Email sent to primary email if non primary email field is included on the registration page
To replicate
- Create a profile with Fname, Lname, Email (non primary loc type).
- Use this on an event registration page.
- Now, if a user registers on this event and enters a value in the email field, the invoice is sent to the primary email stored in civicrm. Not on the email which was entered while registering.
Step 1
Step 2
Thankyou page confirms that the email was sent to the primary address.