Support

Home Forums Event Espresso Premium Customize email.php

Customize email.php

Posted: December 30, 2012 at 9:39 pm


Kelvin Chan

December 30, 2012 at 9:39 pm

Hi all,

In email.php, how do I modify //Build the headers
$headers = ”;
return array(
‘send_to’ => $data->event->alt_email == ” ? $org_options[‘contact_email’] : $data->event->alt_email . ‘,’ . $org_options[‘contact_email’],
’email_subject’ => !$data->multi_reg ? $data->event->event_name . ‘ ‘ . __(‘registration confirmation’, ‘event_espresso’) : __(‘Event Registration Notification’, ‘event_espresso’),
’email_body’ => $admin_message . $data->table_open . $admin_email_body . $data->table_close . $admin_additional_info,
‘headers’ => $headers
);

such that the email subject becomes:

Registration for “Event Name”

Tks!
Kelvin


Dean

December 31, 2012 at 1:44 am

Hi Kelvin,

Why not just use the Email Manager and create a custom email with a custom subject line and allocate that to the event/s?

The support post ‘Customize email.php’ 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