Commit 2426ae5f by Alexander Makarov

Merge pull request #889 from sergon/patch-6

Update SiteController.php
parents 3a347c35 41e2c410
...@@ -164,7 +164,7 @@ class SiteController extends Controller ...@@ -164,7 +164,7 @@ class SiteController extends Controller
$headers = "From: $name <{$fromEmail}>\r\n" . $headers = "From: $name <{$fromEmail}>\r\n" .
"MIME-Version: 1.0\r\n" . "MIME-Version: 1.0\r\n" .
"Content-type: text/plain; charset=UTF-8"; "Content-type: text/plain; charset=UTF-8";
return mail($fromEmail, $subject, $body, $headers); return mail($email, $subject, $body, $headers);
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment