chatbot

đź’¬ SM2R Assistance
Nouvelle demande via Chatbot

Type: {$data[‘service’]}

Nom: {$data[‘nom’]}

Email: {$data[’email’]}

TĂ©lĂ©phone: {$data[‘telephone’]}

Message: {$data[‘message’]}

« ;$headers = [ ‘Content-Type: text/html; charset=UTF-8’, ‘From: SM2R Chatbot ‘ ];if (wp_mail($to, $subject, $message, $headers)) { wp_send_json_success(); } else { wp_send_json_error(‘Échec de l\’envoi’); } } add_action(‘wp_ajax_sm2r_send_rdv’, ‘sm2r_send_rdv_email’); add_action(‘wp_ajax_nopriv_sm2r_send_rdv’, ‘sm2r_send_rdv_email’); ?>