How can I set up a replyto email

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 3 days, 7 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43860

    Hi there, I have set a website up so all emails are sent from a noreply email address using WPSMTP. Is it possible to add a replyto email to the booking confirmation so if the bookees try to reply it will go to a specified email address?

    George Upson
    #43868

    Hi George,

    Yes it is possible using the email filters. For example:

    add_filter('eventorganiser_booking_confirmed_email_headers', function($headers, $booking_id) {
            $headers = array(
                'reply-to:user@example.com'
            );
        return $headers;
    }, 10, 2);
    
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 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.