Issue Details (XML | Word | Printable)

Key: EMAIL-48
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Q. Werty
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Email

[email] API for TLS authentication and JNDI mail session integration

Created: 05/Dec/05 06:14 AM   Updated: 16/May/06 12:06 PM
Return to search
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File api-tls-jndi.patch 2005-12-05 06:15 AM Q. Werty 3 kB
Environment:
Operating System: other
Platform: Other

Bugzilla Id: 37782


 Description  « Hide
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" to 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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Q. Werty added a comment - 05/Dec/05 06:15 AM
Created an attachment (id=17143)
proposed path for API

dion gillard added a comment - 12/Feb/06 08:34 PM
Committed patch, with @since tags added.