[bug] with email sender encoding
Hi,
I encountered a bug when the sender of the mail contains special characters (like an ' )
what I did In order to correct it :
file : bookly-responsive-appointment-booking-tool\lib\notifications\base\Reminder.php
correction :
around line 328 :
//original code
/* $from = $force_from ?: array(
'name' => get_option( 'bookly_email_sender_name' ),
'email' => get_option( 'bookly_email_sender' ),
); */
//altered code that works
$from = $force_from ?: array(
'name' => html_entity_decode(get_option( 'bookly_email_sender_name' ), ENT_QUOTES, "UTF-8"),
'email' => get_option( 'bookly_email_sender' ),
);
1
Comments
Please sign in to leave a comment.