Hi,
Now i am trying to append the LoggerAppenderMail(),when i execute the
code it process successfully without any error but the mail is not received
by the receiver,the code is,
$this->appenderMail = new LoggerAppenderMail();
$this->layourMail = new LoggerLayoutTTCC();
$this->appenderMail->activateOptions();
$this->appenderMail->setFrom("[email protected]");
$this->appenderMail->setTo("[email protected]");
$this->appenderMail->setSubject("TEST");
this->logger->addAppender($this->appenderMail);
$this->allappendersMail =
$this->logger->getAllAppenders();
$this->logger->fatal("This is sample testing");
pls reply me , Thanks in Advance
--
View this message in context:
http://old.nabble.com/Add-appender-programmatically-tp28228274p28522882.html
Sent from the Log4php - Users mailing list archive at Nabble.com.