Closed glassfishrobot closed 11 years ago
Reported by reza_rahman
@bshannon said: Doesn't javax.mail.MailSessionDefinition do what you want? https://javaee-spec.java.net/nonav/javadocs/javax/mail/MailSessionDefinition.html There's a corresponding XML element as well.
reza_rahman said: Indeed it does - I did not know about it or forgot. Thanks much and this can be closed.
This issue was imported from java.net JIRA JAVAEE_SPEC-24
Marked as invalid on Monday, May 13th 2013, 4:56:09 pm
It is currently not possible to define JavaMail Sessions via standard annotations or XML. This is a potential usability issue, especially in cloud environments.
It may be very helpful to have portable annotations or XML for this, just like we now have for data sources and JMS resources.
Do let me know if anything needs to be explained further - I am happy to help.
Please note that these are purely my personal views and certainly not of Oracle's as a company.