mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
cleanup multipart email sending code
remove 'EmailNotification' class and rename 'enotify' class as 'Emailer'
This commit is contained in:
parent
6679d18826
commit
16a07e6d83
3 changed files with 62 additions and 110 deletions
|
@ -249,6 +249,12 @@ function email_header_encode($in_str, $charset) {
|
|||
return $out_str;
|
||||
}
|
||||
|
||||
/**
|
||||
* email_send is used by NETWORK_EMAIL and NETWORK_EMAIL2 code
|
||||
* (not to notify the user, but to send items to email contacts
|
||||
*
|
||||
* TODO: this could be changed to use the Emailer class
|
||||
*/
|
||||
function email_send($addr, $subject, $headers, $item) {
|
||||
//$headers .= 'MIME-Version: 1.0' . "\n";
|
||||
//$headers .= 'Content-Type: text/html; charset=UTF-8' . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue