Could someone be able to help, I am trying to send an email once registration is conformed to an user where everything working fine except the link which is displaying as:
<a href=" http://176.35.232.280/appxailon.com/cgi-bin/admin/rego.php?passkey='.$activation.'">Activate account</a>
However I would like to show the Activate account
only. Please help!!!
// Send the email:
$to = $email;
$subject = "Registration Conformation:Upperbit";
$from = 'Support@upperbit.com';
$body = "Hi"." $first ,"."\n\n";
$body .= "This is an automated message from Upperbit.Please dont reply to it."."\n\n";
$body .= "If you have recently signed up with us then please click on the below activation link to activate your account."."\n\n";
$body .= '<a href=" http://176.35.232.280/appxailon.com/cgi-bin/admin/rego.php?passkey='.$activation.'">Activation account</a>'."\n\n";
$body .= "if didn't intend to register with us please simply disregard this email."."\n"."-----------"."\n";
$body .= "Best regards,"."\n"."Upperbit Team";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
// Additional headers
$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
$sentmail = mail($to,$subject,$body,$header);