\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: text/html; charset=UTF-8"; $to = $email; $url = $app['url_generator']->generate('confirm',array('nick'=>$nick,'token'=>$token)); $correo = "
Wellcome $nick to CodeShare, the distribution platform for code fragments
To confirm your account please, click in the next link: https://codeshare.jkanetwork.com$url
"; mail($to,"Confirm account to $nick",$correo,$header); } function restorePassword($email,$nick,$token,$timestamp){ global $app; $header = "From: CodeShareSomeone requested that the password be reset for you
If this was a mistake, just ignore this email and nothing will happen.
To restore your password please, click in the next link: https://codeshare.jkanetwork.com$url
"; mail($to,"Restore password to $nick",$correo,$header); }