PHP Mailer send mails in plain text , by default, you need to tell it that you're going to send an HTML email by using $mail->IsHTML(true), then you can use anchor tags. To create the HTML form, following is the HTML code.
Code:
<form>
First name:
<input type="text" name="firstname" />
<br />
Last name:
<input type="text" name="lastname" />
</form>
Since some email clients do not support HTML, and some users turn off HTML support on those that do for security, its best to also send the message in plain text.
Bookmarks