• Resolved nemanjazikic

    (@nemanjazikic)


    Hi Nikola,

    Great plugin.

    For HTML mail notifications such as Pending, Confirmation etc. templates you may change the following code in easy-appointments/src/logic.php file.

    From:

    if(array_key_exists('email', $app_array)) {
    			wp_mail( $app_array['email'], 'Reservation #' . $app_id, $body );

    To:

    $headers = array('Content-Type: text/html; charset=UTF-8');
    		if(array_key_exists('email', $app_array)) {
    			wp_mail( $app_array['email'], 'Reservation #' . $app_id, $body, $headers );

    Regards,
    Nemanja

    https://ww.wp.xz.cn/plugins/easy-appointments/

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

The topic ‘HTML mail notifications’ is closed to new replies.