Send html emails using PHPMailer and html templates
问题 I'm trying to get the emails sent from my contact (using PHPMailer) sent in a nice html template (phtml actually). What works: I receive the html template so no issue with the transmission What does not work: The variables (message, phone number, etc) are not reflected in the body of my html template. I have tried several things in the html template, without success: <?= htmlspecialchars($message) ?> and #message# and <?php echo$_POST['message'] ?> What is the issue? Thanks, Here is the