Ensure that the default settings for the e-mail transport method have been set by doing the following:
- Open the Configuration Manager.
- Select the Instance, then open the transports > Outbound > JavaMail > ConnectionSpec folder.
- Click the Advanced tab in the right-hand frame.
- Set the value of host, to your SMTP mail server.
- Set the value of protocol, to smtp.
- Set the value of the host port. The default value is 25.
- Set the value of sendpartial. The default value is Yes. If your e-mail list contains invalid addresses, this decides whether you will send e-mail to only the valid addresses in the recipient list or to none at all.
- Set the value of retryduration. The default is null (disabled). When a value (in hours) is provided, it will enable the detection of SMTP server availability, based on history. If the E-mail adapter has made a successful connection to the SMTP server specified in the past, a row of history will be added to SMTPHOST table. When an e-mail message failed to be sent, the message will be "time-stamped" and the messaging system will retain the messages retries number (by default decrement by 1 for every failed attempt to send messages) until this retry duration period is over. The server will attempt to send the message during this period for unlimited times. The frequency of attempts will be based on the SendTransactedMsg scheduler job. Once the retry duration is expired, the server will attempt to send the message as usual.
- Click Apply.
- Restart the WebSphere Commerce Server.
Note: This provides a system wide default setting for the e-mail transport. This setting will be overridden by those assigned in the Administration Console.