Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Can the Confirmation Email also be sent to an email entered in a Custom Question | Event Espresso - Staging Server

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

Viewing 3 reply threads


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

  • Support Staff

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

  • Support Staff

January 29, 2014 at 5:11 am

Please let us know how you get on!

Viewing 3 reply threads

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 - Staging Server