• Resolved grze11

    (@grze11)


    The plugin correctly sends reservations to my e-mail address.
    But when I want to click in a reply (in a mailbox), the sender field is my e-mail address

    I need to set a reply to an e-mail from the form (customer email) not admin mail

    In the functions.php file I found a line responsible for sending an email to the administrator:

    $adminEmail = getAbcSetting(’email’);
    $headers[] = ‘Content-type: text/html; charset=”UTF-8’ . “\r\n”;
    $headers[] = ‘From: ‘.wp_specialchars_decode( get_option( ‘blogname’ ), ENT_QUOTES ).’ <‘.$adminEmail.’>’.”\r\n”;
    $subject = __(‘Booking Request’, ‘advanced-booking-calendar’).’ ‘.wp_specialchars_decode( get_option( ‘blogname’ ), ENT_QUOTES );

    I edit $headers [] by adding the Reply to option
    but it doesn’t work

Viewing 3 replies - 1 through 3 (of 3 total)
  • I Need this also

    Plugin Author BookingCalendar

    (@bookingcalendar)

    Hi,

    if you add this line to the $headers of the sendAbcAdminMail() in the functions.php, it should work:
    $headers[] = 'Reply-To: '.$placeholder["abc_first_name"].' '.$placeholder["abc_last_name"].' '.' <'.$placeholder["abc_email"].'>'."\r\n";

    We will add this to the next version (release tba)

    Best,
    Jan

    Thanks for this!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Reply using only “Reply To” address’ is closed to new replies.