Allows for defining all settings locally as bean properties. Alternatively, a pre-configured JavaMail {@link javax.mail.Session} can bespecified, possibly pulled from an application server's JNDI environment.
Non-default properties in this object will always override the settings in the JavaMail Session
. Note that if overriding all values locally, there is no added value in setting a pre-configured Session
.
@author Dmitriy Kopylenko
@author Juergen Hoeller
@since 10.09.2003
@see javax.mail.internet.MimeMessage
@see javax.mail.Session
@see #setSession
@see #setJavaMailProperties
@see #setHost
@see #setPort
@see #setUsername
@see #setPassword
|
|