* if the file '
*
*
- * $x->asData(); // returns data needed for notify?? - notify should really
+ * $x->toData(); // returns data needed for notify?? - notify should really
* // just use this to pass around later..
*
* $x->send();
$mail = Mail::factory("SMTP",$mailOptions);
$email['headers']['Date'] = date('r');
if (PEAR::isError($mail)) {
- $pg->addEvent("COREMAILER-FAIL", false, "mail factory failed");
+ $pg->addEvent("COREMAILER-FAIL", false, "mail factory failed");
return $mail;