mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Merged core mailout routine into e107_plugins/user/e_mailout.php. Fixed pop3 error messages from phpmailer. Corrected email preview when no template selected. Corrected mailout Email source names.
This commit is contained in:
@@ -697,9 +697,16 @@ class e107Email extends PHPMailer
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$text = $this->Body;
|
||||
|
||||
|
||||
if($eml['template'] == 'textonly')
|
||||
{
|
||||
$text = strip_tags($text);
|
||||
}
|
||||
|
||||
if(!empty($this->previewAttachments))
|
||||
{
|
||||
$text .= "<hr />Attachments:";
|
||||
@@ -710,7 +717,12 @@ class e107Email extends PHPMailer
|
||||
$text .= "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($eml['template'] == 'texthtml' || $eml['template'] == 'textonly' )
|
||||
{
|
||||
$text = "<body style='background-color:#FFFFFF'>".$text."</body>";
|
||||
}
|
||||
|
||||
return $text;
|
||||
|
||||
}
|
||||
@@ -1192,6 +1204,9 @@ class e107Email extends PHPMailer
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // End of e107Mailer class
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user