I use a JBoss for queue. I have configured the SMTPAppender in
"jboss-log4j.xml" in "C:\jboss-4.2.2.GA\server\default\conf". ( the add are hid)
<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="ZZZ.com"/>
| <param name="BufferSize" value="10"/>
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
| </layout>
| </appender>
The same settings I used for simple javaMail is working fine, but when I
purposely let the JBoss hit error on my jar file, no mail sent. Any idea? where
to check? And I also found the "org.jboss.mail.MailService" in jmx console
cannot be configured anywhere, seems for free version.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188966#4188966
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188966
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user