You need to set the correct header type:

Content-type: text/html

otherwise it defaults to:

Content-type: text/plain


"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
> 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
> How do I create it as a link?  I know I can send them because I have done
> 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
> name'>Activate Account</a>";
>                mail($email,'Thanks',$mailcontent,"From:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to