php - How to send well show activation mail layout with mail -
in code want looking layout show user. in activation mail show <a href="link">link</a>
.i didn't want want simple show link not show <a href="">
tag in email please me how that.
thanks
$actual_link = "http://mywebsite.com"."/activate.php?id=" . $current_id; $subject = "user registration activation email"; $content = "click link activate account. <a href='" . $actual_link . "'>" . $actual_link . "</a>"; $from="verification@mywebsite.com"; while (list($key,$val)=each($_post)) { $pstr = $pstr."$key : $val \n "; ++$pcount; } while (list($key,$val)=each($_get)) { $gstr = $gstr."$key : $val \n "; ++$gcount; } if ($pcount > $gcount) { $message_body=$content; mail($toemail, $subject,$message_body,"from:".$from);
Comments
Post a Comment