The purpose of this article is to help you configure JavaMail provider and JavaMail session settings.
<resources.mail:MailProvider xmi:id="MailProvider_1" name="Default Mail Provider" description="IBM JavaMail Implementation"> <classpath>mailProvider:classpath</classpath> <factories xmi:type="resources.mail:MailSession" xmi:id="MailSession_1" name="mailSession:name" jndiName="mailSession:jndiName" description="mailSession:description" mailTransportHost="mailSession:mailTransportHost" mailTransportUser="mailSession:mailTransportUser" mailTransportPassword="{xor}Mj42Mww6LCw2MDFlMT4yOg==" mailFrom="mailSession:mailFrom" mailStoreHost="mailSession:mailStoreHost" mailStoreUser="mailSession:mailStoreUser" mailStorePassword="{xor}Mj42Mww6LCw2MDFlMT4yOg==" debug="true" mailTransportProtocol="ProtocolProvider_1" mailStoreProvider="ProtocolProvider_1"> <propertySet xmi:id="J2EEResourcePropertySet_1"> <resourceProperties xmi:id="J2EEResourceProperty_1" name="mailSession:customName" value="mailSession:customValue"/> </propertySet> </factories> <propertySet xmi:id="J2EEResourcePropertySet_2"> <resourceProperties xmi:id="J2EEResourceProperty_2" name="mailProvider:customName" value="mailProvider:customValue"/> </propertySet> <protocolProviders xmi:id="ProtocolProvider_1" protocol="smtp" classname="smtp:className"/> <protocolProviders xmi:id="ProtocolProvider_2" protocol="pop3" classname="pop3:className"/> <protocolProviders xmi:id="ProtocolProvider_3" protocol="imap" classname="imap:className"/> </resources.mail:MailProvider>