dazz_club Posted April 23, 2008 Share Posted April 23, 2008 I have a simple email script and i would like to put a link inside the body of the message, like click here or something, but im runin into trouble. As what appears is the actual code. I added the backward slash in the right places where quotes are found, but no luck. here is the script $sendTo = "my@email"; $subject = "Thank you"; $headers = "From:$company_email \n "; $headers .= " $first_name $surname \r\n"; $headers .= "Reply-To: $company_email \r\n"; $message = "Hi $member, This email is sent to you to inform you that <span style=\"font-weight:bold;\" >$first_name $surname</span> has become a member. For more details please click <a href=\"http://www.mysite.com/email/private/\">here to login</a>. From Administrator"; mail($sendTo, $subject, $message, $headers); kind regards Dazzclub Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.