Enabling e-mail notification for workspaces

Enabling e-mail notification in workspaces allows WebSphere Commerce to send e-mail automatically in the following situations:

If you are enabling e-mail notification for workspaces in WebSphere Commerce Developer, follow the instructions in Enabling e-mail notification for workspaces in WebSphere Commerce Developer.

To enable e-mail notification for workspaces:

  1. Configure the e-mail transportation method for your authoring server.

  2. Assign the following message types to the e-mail transportation method:

    • RejectTaskNotification

    • ReadyToApproveTaskGroupNotification

    • ActivateTaskNotification

  3. Copy the following file to a temporary location:

    This file should never be directly modified. For more information, refer to XML configuration directory.

  4. Open the temporary copy of the file in a text editor.

  5. Find the following text
    <ActivateTaskEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" />
    <RejectTaskEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" />
    <ApproveTaskGroupEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" />
    

  6. Change the text to the following
    <ActivateTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
    <RejectTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
    <ApproveTaskGroupEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
    

  7. Save your changes.

  8. Update WebSphere Commerce with the updated file. See the Updating applications topic in the WebSphere Application Server Information Center for instructions. Ensure that you follow the instructions for updating a single file.

    You will need the following information:

    Enterprise application name

    WC_enterprise_application

    Relative path to file

    xml/config/wc-workspace.xml

  9. Stop and restart WebSphere Commerce.

Related concepts

Workspaces

Related tasks

Create an authoring server
Configure a transport method for the site
Assign a message type to a transport method for a site or store
Start and stopping WebSphere Commerce
Enabling e-mail notification for workspaces in the WebSphere Commerce development environment