-
1. Re: Seam Mail Configuration for Tomcat
admin.admin.email.tld Jul 1, 2008 4:57 AM (in response to damatrix)try it out following this info from the Seam ref pdf:
18.3. Configuration To include Email support in your application, include jboss-seam-mail.jar in your WEB-INF/ lib directory. If you are using JBoss AS there is no further configuration needed to use Seam's email support. Otherwise you need to make sure you have the JavaMail API, an implementation of the JavaMail API present (the API and impl used in JBoss AS are distributed with seam as lib/mail.jar), and a copy of the Java Activation Framework (distributed with Seam as lib/ activation.jar.
-
2. Re: Seam Mail Configuration for Tomcat
lrpieri Nov 19, 2010 2:01 PM (in response to damatrix)Hi All,
I'm trying to send mail with Seam 2.2.0 GA and Tomcat 6 (Java 6) but it is not working. I'm also using Maven, so I've added
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-mail</artifactId>
<version>2.2.0.GA</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>I've tested with and without javax.activation, becouse I've understood that in Java 6 it isn't necessary.
Does anybody have any idea?
Thanks for all.