[jboss-user] [JBoss Seam] - Re: Seam email problem

pete.muir@jboss.org do-not-reply at jboss.com
Mon Sep 3 06:45:37 EDT 2007


Yes, it does look like your components.xml isn't being read correctly - it should now display 

12:05:08,210 INFO [MailSession] Creating JavaMail Session (smtp.gmail.com:465)

(the problem with the session-jndi-name approach is that control of the mail session is no longer in Seam and so I don't know the debug output as well ;) ) .

You should turn on debug for JavaMail in components.xml anyway

<mail:mail-session host="smtp.gmail.com" port="465" username="martin.krajci" password="xxx" ssl="true" debug="true"/>

It's very obvious when debug is turned on - lots of stuff is spewed to the console.

So, check that your components.xml has been placed in war/WEB-INF/components.xml in your deployed project.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080444



More information about the jboss-user mailing list