Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Reply using only “Reply To” address

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles