openejb smtp configuration

33 views
Skip to first unread message

fiorenzino

unread,
Oct 24, 2010, 2:09:47 PM10/24/10
to SIwpas Discussion
Hi,

i try to use:

<Resource id="FlowerMailSession" type="javax.mail.Session">
mail.smtp.host=smtp.gmail.com
mail.smtp.port=465
mail.smtp.socketFactory.fallback=false
mail.transport.protocol=smtps
mail.smtp.auth=true
mail.smtp.user=xx...@gmail.com
user=x...@gmail.com
password=xxxx
mail.smtp.starttls.enable=true
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
</Resource>

but in the log i read:

DEBUG: getProvider() returning provider protocol=smtp;
type=javax.mail.Provider$Type@1df3b8bc;
class=org.apache.geronimo.javamail.transport.smtp.SMTPTransport;
vendor=Apache Software Foundation;version=1.0
javax.mail.SendFailedException: Send failure
(javax.mail.AuthenticationFailedException: null)


some help??

thanks
fiorenzo

Gurkan Erdogdu

unread,
Oct 25, 2010, 4:54:53 AM10/25/10
to siwpas-d...@googlegroups.com
Thanks for reporting.

Issue has opened http://code.google.com/p/siwpas/issues/detail?id=7 and will be resolved in CR5.

Please use our issue system for ongoing bugs!

Thanks;

Gurkan

2010/10/24 fiorenzino <fiore...@gmail.com>



--
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

Gurkan Erdogdu

unread,
Oct 25, 2010, 8:08:59 AM10/25/10
to siwpas-d...@googlegroups.com
Hello,

See issue for how to do workaround before CR5.

Replace geronimo-mail.jar with the provided jar at issue.

2010/10/25 Gurkan Erdogdu <cgurkan...@gmail.com>
Reply all
Reply to author
Forward
0 new messages