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("kjp....@gmail.com");
                        $this->appenderMail->setTo("angs....@gmail.com");
                        $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/dynamically-config-the-appender-mail-tp28595845p28595845.html
Sent from the Log4php - Users mailing list archive at Nabble.com.

Reply via email to