commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Q\. Werty" <q.we...@laposte.net>
Subject Re: [email] API improvement suggestion : TLS & JNDI
Date Fri, 02 Dec 2005 22:08:57 GMT
Thanks.

I prepare patches and submit them to bugzilla.

> If you would like to submit patches for this, that would be
great.   
> Just add them to bugzilla issues.   For part 1, it seems
like we  
> should have different Authentication types..   The standard
one and  
> the TLS one.  Then, you just configure your Authentication
object and  
> pass it in..
> 
> At any rate, I look forward to your patches and comments!
> 
> ERic
> 
> 
> On Nov 30, 2005, at 4:32 AM, Q.. Werty wrote:
> 
> > Hi,
> >
> > Commons-email is a great componant.
> > I'd like to suggest two improvements for facilities in API :
> >
> > 1. TLS support
> > Add methods to use TLS during authentification when needed.
> > => this require adding methods such "void setTLS(boolean
> > withTLS)" and "boolean isTLS()" and adding the property
> > mail.smtp.starttls.enable=true to MailSessionObject
> > => in version 1.0, TLS can be supported by adding the property
> > "mail.smtp.starttls.enable" bto system before sending message.
> > It woudd be more friendly to just have a setTLS method,
> > moreover this property woud just be added to MaillSession
> > object and not to system properties.
> >
> > 2. JNDI support
> > In J2EE container, mail session can be obtained from JNDI
> > direcory. A method like "void setMailSessionFromJNDI(String
> > jndi name)" would ne more friendly too.
> > => in version 1.0 we have to do the JNDI search in code. This
> > method would allow to simply pass the JNDI name of mail
sesssion.
> >
> >
> > Accédez au courrier électronique de La Poste :
www.laposte.net ;
> > 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
commons-user-help@jakarta.apache.org
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
commons-user-help@jakarta.apache.org
> 
> 

Accédez au courrier électronique de La Poste : www.laposte.net ;
Jusqu'au 25 décembre, participez  au grand jeu du Calendrier de l'Avent et
 gagnez tous les jours de nombreux lots, + de 300 cadeaux en jeu !




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message