users@glassfish.java.net

JavaMail datasource with TLS/SSL, username and password

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Mon, 30 Jun 2008 13:25:01 -0400

Hi,

I'm having difficulty figuring out how to configure a JavaMail
datasource for either my employer's SMTP server for GMail's. They both
use TLS, username and password.

So far the most helpful page I found with JavaMail *properties* to
configure is here:

http://www.jroller.com/eyallupu/entry/javamail_sending_embedded_image_in

Can anyone help? How do I put in a username and password? I tried
mail.password but it still doesn't work.


Thanks,
Ryan