hi guyz im using phpmailer to send mails but into the message variable i cannot add an activation link? the link is send but is not hyperlinnked in any mails(hotmail,gmail etc)
here is my code:
$mail = new PHPMailer();
//$body = $mail->getFile('contents.html');
//$body = eregi_replace("[\]",'',$body);
$body = "Welcome $surname, $name \n You, or someone using your email address, has completed registration at www.maurimarket.tk. You can complete registration by clicking the following link:\n";
$body .="http://www.sellnbuy.tk/confirmation.php?".$activationKey."\n";
$body .="If this is an error, ignore this email and you will be removed from our mailing list. Regards, www.bestbuy.tk Team \n";
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
$mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server
$mail->Port = 465; // set the SMTP port for the GMAIL server
$mail->Username = "mail.com"; // GMAIL username
$mail->Password = "password"; // GMAIL password
$mail->AddReplyTo("mail.com","Admin");
$mail->From = "mail.com";
$mail->FromName = "Admin";
$mail->Subject = "Registration Maurimarket";
//$mail->Body = "Hi,<br>This is the HTML BODY<br>"; //HTML Body
$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
$mail->WordWrap = 50; // set word wrap
$mail->MsgHTML($body);
$mail->AddAddress($email, $name." " .$surname);
Please help,
tkx