html - embed link in php mail function -


im trying embed

<a href="http://www.google.com/">google</a> 

for example. in email shows html code. think might security reasons avoid phising scams such getting people visit links not intend to. best method can think of passing sensitive informations , want user see link word 'google'.

note: google being used here example only.

take @ example #4 in php documentation mail

in particular, part:

$headers .= 'content-type: text/html; charset=iso-8859-1' . "\r\n"; 

Comments