To enable e-mail error notification, do the following:
- Ensure that the system default settings for the e-mail transport method have been set, and that the e-mail transport is active.
- Assign the error condition message type to a transport.
- Assign a message type to a transport method for a
site or store.
On the Message Transport Assignment page enter the following values:
- In the Message Type drop-down list select Description of an error condition occurring in WebSphere Commerce.
- In the Message Severity field specify 0 0.
- From the Transport drop-down list, select E-mail.
- From the Device Format drop-down list, select Standard Device Format.
On the Message Transport Assignment parameter page use the following values:
- In the Host field, type the fully qualified name or IP address of your mail server.
- In the Protocol field, type smtp.
- In the Port field, type in the port number of the host. For example, 25.
- In the Send Partial field, type in "true" to send an e-mail to valid addresses in the Recipient field, even if there are invalid addresses in the same field. Type in "false" to send the e-mail only if all addresses are valid.
- In the Retry Duration field, type in the number of times WebSphere Commerce can try to reconnect to a SMTP host when the server is down.
- In the Recipient field, specify the e-mail addresses to which is message is being sent. If multiple recipients are specified, separate recipient names with commas.
- In the CC field, type in the e-mail addresses that you want copies of the message sent to.
- In the BCC field, type in the e-mail addresses that you want private copies of the message sent to.
- In the Sender field, specify the sender of the message.
This text appears in the Sender field of the e-mail message. - In the Subject field, specify the subject of the message.
This text appears in the Subject field of the e-mail message. - In the Reply To field, type in the e-mail address all replies should be sent to.
- Restart the WebSphere Commerce Server.
Note: If you encounter problems when sending e-mail for error notification the following actions may be required:
- Check that configuration values are correct.
- Clean-up all configuration data by deleting all entries that configure transport at the store level. The following SQL statement will delete all entries:
delete from cseditatt where store_id is not null
- Open the Administration Console and select Site on the Administration Console Site/Store Selection page. Check that all message types are configured properly and do not configure transport at the store level.