I am trying echo an activation code in an email. However whatever I try including putting them inside the PHP tags just displays the text instead of any form of PHP being echoed.
Can anyone advise how I can echo PHP inside an email. I am using single commas to start and finish the email, is that the problem?
$message = '
Welcome to Website.com <br><br>
<php echo $activationcode ?>
?>Click Here</a> to activate your account.