roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan de Laplante <r...@ijws.com>
Subject Re: Setting up JavaMail datasource with SSL, username and password
Date Wed, 02 Jul 2008 18:51:40 GMT
Dave wrote:
> On Mon, Jun 30, 2008 at 10:50 PM, Ryan de Laplante <ryan@ijws.com> wrote:
>   
>> I found this example on the net:
>>       Properties props = new Properties();
>>       props.put("mail.smtp.host", "smtp.gmail.com");
>>       props.put("mail.smtp.auth", "true");
>>       props.put("mail.smtp.port", "465");
>>       props.put("mail.smtp.socketFactory.port", "465");
>>       props.put("mail.smtp.socketFactory.class",
>> "javax.net.ssl.SSLSocketFactory");
>>       props.put("mail.smtp.socketFactory.fallback", "false");
>>       props.put("mail.debug", "true");
>>     
>
> Nice. Sounds like we need to allow those same properties to be
> specified in roller-custom.properties. I think the code that
> reads/reacts to mail property settings is all in a single
> "MailProvider" class, so it would be easy to patch ;-)
>
> - Dave
>
>   
I think this will be very helpful:

http://forums.java.net/jive/message.jspa?messageID=283824#283824

I will be giving it a try on GlassFish tonight.


Ryan



Mime
View raw message