am sending an html mail to my users using inlined css mixed with the html. The problem am having is how to pass my variables from my php to my html and use it there accordingly as i send it as an email. eg the mail is meant to contain user full name, user purchase and amount of purchase. how do i pass that to my html
$mail = new PHPMailer;
$mail->From = "mail@mail.com";
$mail->FromName = "mail.com";
$mail->addAddress($email);
$mail->addReplyTo("mail@mail.com", "Reply");
$mail->isHTML(true);
$mail->Subject = "Details";
$mail->Body = file_get_contents('epay.html');
$mail->Send();