Hi, just add "Content-Type: text/html" to the header information of the mail: mail($email,'Thanks',$mailcontent,"From:aircharterunited.com\nContent-Type: text/html");
HTH, Bastian > Hello all, > > I am using the following code but when I view the sent e-mail (in my yahoo > account) the link info is all plain text. I see the <a tag and everything. > How do I create it as a link? I know I can send them because I have done it > before in my yahoo e-mail, just never through php and mail(). > > Thanks, > Eddie > > $mailcontent="Thank you for registering with AirCharterUnited \n" > ."Your Username is $uname and your password is $pword > \n" > ."Please click the following link to activate your > account \n" > ."<a > href='http:\\www.aircharterunited.com\pages\activate_account.php?clientid=$u > name'>Activate Account</a>"; > mail($email,'Thanks',$mailcontent,"From: > aircharterunited.com"); -- Mit freundlichem Gruß i.A. Bastian Vogt + KomTel Gesellschaft fuer + Kommunikations- und + Informationsdienste mbH + + Bastian Vogt + Nordermarkt 1, D-24937 Flensburg + + Fon: +49-461-9090-00, Fax: +49-461-9090-031 + EMail: [EMAIL PROTECTED], Internet: http://www.komtel.net + -------------------------------------------------------------------- + -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php