$message = "Thank you for signing up to WiredFlame, please click the link below to confirm your account:\n\n ".$domain."confirm.php?writer=".$confirmcode." \n\n Thanks, \n WiredFlame.com"; $to = $email; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'To: '.$email.'' . "\r\n"; $headers .= 'From: WiredFlame.com ' . "\r\n"; mail($to, 'Thanks for signing up', $message, $headers); print "

Thanks for registering, you're almost done.

Please check your email for your confirmation link / code to confirm your account creation

";