mirror of
https://github.com/friendica/friendica
synced 2025-05-09 07:04:24 +02:00
Email to src
Create Email class and update/rename functions and function calls.
This commit is contained in:
parent
de4a2e6fd0
commit
6008e3df11
10 changed files with 370 additions and 355 deletions
|
@ -95,7 +95,7 @@ function update_fail($update_id, $error_message) {
|
|||
));
|
||||
$subject=sprintf(t('Update Error at %s'), System::baseUrl());
|
||||
require_once('include/email.php');
|
||||
$subject = email_header_encode($subject,'UTF-8');
|
||||
$subject = Email::emailHeaderEncode($subject,'UTF-8');
|
||||
mail($a->config['admin_email'], $subject, $email_msg,
|
||||
'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME']."\n"
|
||||
.'Content-type: text/plain; charset=UTF-8'."\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue