cleanup multipart email sending code

remove 'EmailNotification' class and rename 'enotify' class as 'Emailer'
This commit is contained in:
fabrixxm 2014-09-06 15:52:53 +02:00
parent 6679d18826
commit 16a07e6d83
3 changed files with 62 additions and 110 deletions

View file

@ -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";