Support

Home Forums Event Espresso Premium Can the Confirmation Email also be sent to an email entered in a Custom Question

Can the Confirmation Email also be sent to an email entered in a Custom Question

Posted: January 27, 2014 at 4:32 pm


Paul Miller

January 27, 2014 at 4:32 pm

So for example a manager may be registering some of his staff and requires a copy of the confirmation email. Could he enter his email address into a custom question field and also be sent the conf email even though he will not be an attendant?
I saw a similar variation on this request where some code was provided to send the conf email to a custom field address, INSTEAD OF the attendees, however I just want to add the custom email address to existing attendee(s) email (like a CC I guess.) Make sense? Appreciate help on how to do this, thanks.


Sidney Harrell

January 28, 2014 at 9:12 am

You might try inserting the following line 398 into includes/functions/email.php

	$headers = '';
	$data->attendee->email .= ','.do_shortcode('[EE_ANSWER q="13" a="'.$data->attendee->id.'"]');
	return array(

You’ll need to change the q= to match the question id of your custom question. It may also send out the CC on more than the confirmation email, such as the payment notification or payment reminder emails.


Paul Miller

January 28, 2014 at 4:54 pm

Awesome, i’ll give it a shot. Thanks Sidney.


Dean

January 29, 2014 at 5:11 am

Please let us know how you get on!

The support post ‘Can the Confirmation Email also be sent to an email entered in a Custom Question’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso