Event Confirmation Email Receipt using Email ID instead of actual Email
Environment CiviCRM 5.9.1 with Drupal 7. Recently upgraded from 4.7.17.
Problem When sending an Event Confirmation receipt from the "Work" email address on your own Contact record, the "email_id" is not translated to the actual email address, and instead the "email_id" is used AS the email address. We noticed this when we had multiple emails originating from number@localhost in our mail logs, and traced it down to the email_id's of the contact sending the receipts/creating the registrations.
Steps to Reproduce
- Register a Contact for a CiviCRM Event manually as an administrator
- Check the option to "Send Confirmation and Receipt"
- In the "Receipt From" field allows specify an email from your own linked Contact record (not a pre-configured one). The "Work" email is the one we specifically had issues with
- Complete the registration
I recently opened another issue having to do with information from profiles, specifically custom Location Type data, not being included in the email. I wonder if there is a broken link somewhere in how these emails are being generated?