IBM Support

Adding JavaMail parameters to the WebSphere Commerce Environment

Technote (FAQ)


Question

How can JavaMail SMTP settings be added to the WebSphere Commerce Environment?

Answer

Create a file named JCAEmailConnectionRequestInfo.properties in the WAS_installdir/lib directory. Within the JCAEmailConnectionRequestInfo.properties file, JavaMail configuration parameters can be specified.
For a list of possible JavaMail configuration parameters, see the package description of com.sun.mail.smtp:

https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html
After populating the properties file, restart WebSphere Application Server for the changes to take effect.

Related information

Package com.sun.mail.smtp Description


Cross reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce Business Edition Not Applicable AIX, i5/OS, Linux, Solaris, Windows 5.6, 5.6.1 Business Edition

Document information

More support for: WebSphere Commerce Enterprise
Messaging

Software version: 6.0, 7.0

Operating system(s): AIX, IBM i, Linux, Solaris, Windows

Software edition: All Editions

Reference #: 1418781

Modified date: 18 February 2015