mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-17 18:41:36 +01:00
Domails repair
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
function newUser($email,$nick,$token){
|
||||
global $app;
|
||||
|
||||
$header = 'From: CodeShare ' . "contacto@jkanetwork.com\r\n";
|
||||
$header = "From: CodeShare <contacto@jkanetwork.com>\r\n";
|
||||
$header .= "MIME-Version: 1.0\r\n";
|
||||
$header .= "Content-Type: text/html; charset=UTF-8";
|
||||
$to = $email;
|
||||
@@ -16,7 +16,7 @@ function newUser($email,$nick,$token){
|
||||
function restorePassword($email,$nick,$token,$timestamp){
|
||||
global $app;
|
||||
|
||||
$header = 'From: CodeShare ' . "contacto@jkanetwork.com\r\n";
|
||||
$header = "From: CodeShare <contacto@jkanetwork.com>\r\n";
|
||||
$header .= "MIME-Version: 1.0\r\n";
|
||||
$header .= "Content-Type: text/html; charset=UTF-8";
|
||||
$to = $email;
|
||||
@@ -25,5 +25,4 @@ function restorePassword($email,$nick,$token,$timestamp){
|
||||
<p>If this was a mistake, just ignore this email and nothing will happen.</p>
|
||||
<p>To restore your password please, click in the next link: <a href='https://codeshare.jkanetwork.com/$url'>https://codeshare.jkanetwork.com/$url</a></p>";
|
||||
mail($to,"Restore password to $nick",$correo,$header);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user