Mail () function in PHP

just opened the site, now it is editing it, the problem is, I don’t know how to make the link appear, and then it is displayed in the form of text.

In general, I liked the confirmation of mail on this site with a picture. =) How to do so?

$addres = $mail;
$subgect = "";
$message = " " .$create_login."\n   ,   : <a href='".$code."'></a>";
         mail ($addres,$subgect,$message,"Content-type:text/plain; Charset=windows-1251\r\n");

Answer 1, Authority 100%

I think you will find the answer

That is, the right headers will be solved. text / html.

Answer 2

You need a letter to form in HTML format, and not in text