This content has been marked as final.
Show 2 replies
-
1. Re: How do you send emails from Seam?
lvdberg Jun 8, 2009 5:30 PM (in response to oneworld95)Yes, you need to cnfigure it in components.xml. You're using the email from jBoss, so you don't need to add mail.jar (already in jboss-lib). However, you need to add jboss-seam-mail.jar and depending on what you're going to do extra (things like sending attached PDF) you need to add other jars. Chapter 21 of the seam documentation explains this.
In components:
<mail:mail-session startup="true" session-jndi-name="java:/Mail" />
-
2. Re: How do you send emails from Seam?
oneworld95 Jun 8, 2009 5:40 PM (in response to oneworld95)Thanks, Leo. That's what I needed :)