if(empty($contents['subject'])){
$contents['subject'] = $this->subject;
}
-
+
if (!empty($content['subject_replace'])) {
foreach ($content['mapping'] as $pattern => $replace) {
$content['subject'] = preg_replace($pattern,$replace,$content['subject']);
* DEPRICATED !!! - DO NOT USE THIS !!!
*
* use: toMailerData() -- to return the email data..
- * or toMailer($obj, false)->send()
+ * or
+ * $mailer = $core_email->toMailer($obj, false);
+ * $sent = is_a($mailer,'PEAR_Error') ? false : $mailer->send();
+
+ * toMailer($obj, false)->send()
*
*
*/