Hi Gurus,

I am facing a problem in JBOSS 4.0.5GA in SMTPAppender issue. I want to send 
automatic email from JBOSS whenever required. In log4j I have also configured 
the same but it's not working.

For your ref

<!-- EMail events to an administrator -->
 appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
param name="Threshold" value="ERROR"/>
param name="To" value="[EMAIL PROTECTED]"/>
param name="From" value="[EMAIL PROTECTED]"/>
param name="Subject" value="JBoss Sever Errors"/>
param name="SMTPHost" value="gmail-smtp.l.google.com"/>
param name="BufferSize" value="10"/>

appender> 

I am kind of stuck over here. Can you please help.
Apart from this do I need to do anything extra??

My root is

<!-- <appender-ref ref="CONSOLE"/> -->
<appender-ref ref="FILE"/>
<appender-ref ref="SMTP" />


Also I want to schedule this as emails shud be sent after 15/30/45mins etc.

Any help will be a real favor.

Thanks Indrajoy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162966#4162966

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162966
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to