HDFilmMaker2112 Posted June 12, 2012 Share Posted June 12, 2012 How would I go about sending HTML through the mail() function? I'm currently using <br/> tags <a> tags and when I run the script and have the email sent to me, all the tags are visible. /*Generate activation email*/ $to=$register_email; $subject='Activate Your Kynxin Membership'; $headers='From: email@example.com'; $message='Thank you for registering for Kynxin.<br/> <br/> Please visit the following link to activate your account. <a href="http://www.kynxin.com/signup/activate.knxn?activate='.$activation_number.'"> http://www.kynxin.com/signup/activate.knxn?activate='.$activation_number.'</a> <br/> <br/> Thank You,<br/> The Kynxin Support Team '; /*Send registration activation email*/ mail($to, $subject, $message, $headers); Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.