mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-12-06 01:38:25 +01:00
Domails repair
This commit is contained in:
1 parent
0b89d4ee91
commit
4cb7fb7296
1 file changed
+2
-3
@@ -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