Change reply-to

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33288

    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
    #33422

    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
    #33612

    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
    #33655

    That’s correct, that shouldn’t impact anything.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.