Woops :-)...
I configured an SMTPAppender I enabled SMTPDebug and from the logs I always see 
that an attempt to create connection via localhost, 25 isSSL false occurs. No 
need to mention that I am using a SMTPHost attribute which is not localhost... 
I dont find where this behavior can be changed. 
Here is my appender: 

  |  <appender name="EMAIL" class="org.apache.log4j.net.SMTPAppender">
  |       <param name="SMTPHost" value="smtp.gmail.com" />
  |         <param name="From" value="[email protected]" />
  |         <param name="To" value="[email protected]" />
  |         <param name="SMTPDebug" value="true" />
  |         <param name="SMTPUsername" value="username" />
  |         <param name="SMTPPassword" value="password" />
  |         <param name="Subject" value="webapp error" />
  |         <layout class="org.apache.log4j.PatternLayout">
  |             <param name="ConversionPattern" 
value="[%d]%n%n%-5p%n%n%c%n%n%m%n%n" />
  |         </layout>
  |         <filter class="org.apache.log4j.varia.LevelRangeFilter">
  |             <param name="LevelMin" value="ERROR"/>
  |             <param name="LevelMax" value="FATAL"/>
  |         </filter>
  |     </appender>
  | 

Thanks, 
Rod

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

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

Reply via email to