From 4cb7fb72961e5ee08ac5f6e17ea11b2b4e28e1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Garrido=20Labrador?= Date: Sun, 21 Oct 2018 21:42:51 +0200 Subject: [PATCH] Domails repair --- Source/src/domails.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/src/domails.php b/Source/src/domails.php index 58169d5..e0c766a 100644 --- a/Source/src/domails.php +++ b/Source/src/domails.php @@ -3,7 +3,7 @@ function newUser($email,$nick,$token){ global $app; - $header = 'From: CodeShare ' . "contacto@jkanetwork.com\r\n"; + $header = "From: CodeShare \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 \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){

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); - } \ No newline at end of file