Hi,
We need to have a different sender email, other than the WordPress admin one, for emails that are sent through Event Organiser.
So we have been using hooks to change sender email/name, similar to snippet presented here: https://wordpress.org/support/topic/changing-sending-email/
However I now discovered that any replies to these EO -emails still use WordPress admin email (even though sender has changed).
I did find a way around this by changing event-organiser-pro/includes/booking-actions.php line 227 ‘reply-to:changedemail@changedemail.com’ (We are using the EO pro -beta).
Does that make sense, is there a better way to handle this?
We use a child theme and I always try to make any changes there but I could make a note to remember always updating this when there is a new version of Event Organiser Pro.
Thanks!
AK
Hi Anders,
Yes, you can use the filters mentioned on this page: http://docs.wp-event-organiser.com/bookings/notification-emails/ to change the email used.
Or, if you wanted to specifically just change that email, the headers are filtered by eventorganiser_booking_confirmed_email_headers
a few lines after the one you mentioned.
Both filters can be used inside your theme’s functions.php
, so no need to modify the plugin itself.
Stephen Harris
Thank you Stephen!
I´ll be sure to use that instead, before our next update.
…bookings are automatically confirmed using the method presented here but I guess that doesn´t have any impact on this?
https://wp-event-organiser.com/forums/topic/sending-booking-email-confirmation-automatically/
Thanks!
AK
That’s correct, that shouldn’t impact anything.
Stephen Harris