send link using php mail() function
问题 User should get a email in the format:----- Copy the token: xxxxx And paste it in this Link ----- My codes: $message="Copy the token: ". token_generator(10)." ". "And paste it in the link "."<a href='recover_pass_get_mail.php'>Link</a>"; where xxxxx is returned by token_generator(10) function. but user gets in the format code is written 回答1: seems like your email function doesn't have good react with html tags, you probably missing this in you'r $header object. $headers .= "Content-Type: text