Update email_helper.php
This commit is contained in:
parent
6f367eefe0
commit
c9336840ff
|
@ -17,7 +17,7 @@ function engelsystem_email_to_user($recipient_user, $title, $message, $not_if_it
|
|||
|
||||
function engelsystem_email($address, $title, $message) {
|
||||
global $no_reply_email;
|
||||
$result = mail($address, $title, $message, sprintf("Content-Type: text/plain; charset=UTF-8\r\nFrom: Engelsystem <%s>", $no_reply_email);
|
||||
$result = mail($address, $title, $message, sprintf("Content-Type: text/plain; charset=UTF-8\r\nFrom: Engelsystem <%s>", $no_reply_email));
|
||||
if ($result === false) {
|
||||
engelsystem_error('Unable to send email.');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue