Subscription E-mail Notification Is Not Sent When a Document Changes (321452)



The information in this article applies to:

  • Microsoft SharePoint Portal Server 2001

This article was previously published under Q321452

SYMPTOMS

The subscriptions dashboard for a SharePoint Portal Server workspace indicates that a document has changed. However, SharePoint Portal Server does not send an e-mail notification of the change.

CAUSE

This behavior may occur if either of the following conditions is true:
  • SharePoint Portal Server has incorrect Simple Mail Transfer Protocol (SMTP) configuration settings.
  • The scheduled tasks are missing or are not valid.

RESOLUTION

To resolve this issue, follow these steps:
  1. Check the configuration options for SMTP.
  2. Verify that the subscription tasks are scheduled and are valid.
The following sections describe these steps in more detail.

Check the Configuration Options for SMTP

  1. Start SharePoint Portal Server Administrator.
  2. Right-click the server name that you want to check, and then click Properties.
  3. Verify that the E-mail address box contains a valid e-mail address.
  4. Verify that the SMTP server box contains a valid SMTP server name.

Verify That the Subscription Tasks Are Scheduled and Are Valid

Verify that all the scheduled tasks for subscription notifications still exist and that the values are correct.

View the Scheduled Tasks

To view the scheduled tasks:
  • Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
NOTES:
  • If a task is not scheduled, you can re-create it or add it. To add a scheduled task, start Scheduled Tasks, point to New on the File menu, and then click Scheduled Task.
  • If you re-create a scheduled task, in the scheduled task's configuration settings, set the Run as box to run the task with administrative rights.

Check the Scheduled Notification Task Settings

Verify that the scheduled notification tasks exist for your workspace and that the settings are correct. The following examples use SampleWorkspace for the workspace name and ServerName for the server name.
  1. Double-click the Workspace SampleWorkspace Applications Notification task.
    1. Click the Task tab.
    2. Verify that the Run box contains a command line that is similar to the following line:

      C:\Winnt\System32\Cscript.exe "C:\Program Files\SharePoint Portal Server\Bin\"StartBuild.vbs /S /I "http://ServerName/SampleWorkspace/Management/Content Sources/Workspace Applications"

    3. Verify that the Enabled (scheduled task runs at specific time) check box is selected.
    4. Click the Schedule tab.
    5. Under Scheduled Task, verify that Daily is selected.
    6. Click Advanced.
    7. Verify that the Repeat task check box is selected.
    8. Verify that the repeat interval is set to every 30 minutes for a duration of 24 hours.
    9. Verify that the If the task is still running, stop it at this time check box is selected.
    10. Click OK.
    11. Click the Settings tab.
    12. Verify that the Stop the task if it runs for check box is selected.
    13. Verify that the duration is set to 72 hours.
    14. Click the Security tab.
    15. Verify that Administrators and System are set to allow Full Control.
    16. Click OK.
  2. Double-click the Workspace SampleWorkspace Daily Subscription Notification task.
    1. Click the Task tab.
    2. Verify that the Run box contains a command line that is similar to the following line:

      "C:\Program Files\SharePoint Portal Server\Bin\pkmntfy.exe" SampleWorkspace D

    3. Verify that the Enabled (scheduled task runs at specific time) check box is selected.
    4. Click the Schedule tab.
    5. Under Scheduled Task, verify that Daily is selected.
    6. Click the Settings tab.
    7. Verify that the Stop the task if it runs for check box is selected.
    8. Verify that the duration is set to 72 hours.
    9. Click the Security tab.
    10. Verify that Administrators and System are set to allow Full Control.
    11. Click OK.
  3. Double-click the Workspace SampleWorkspace Immediate Subscription Notification task.
    1. Click the Task tab.
    2. Verify that the Run box contains a command line that is similar to the following line:

      "C:\Program Files\SharePoint Portal Server\Bin\pkmntfy.exe" SampleWorkspace I

    3. Verify that the Enabled (scheduled task runs at specific time) check box is selected.
    4. Click the Schedule tab.
    5. Under Scheduled Task, verify that Daily is selected.
    6. Click Advanced.
    7. Verify that the Repeat task check box is selected.
    8. Verify that the repeat interval is set to every 5 minutes for a duration of 24 hours.
    9. Verify that the If the task is still running, stop it at this time check box is selected.
    10. Click OK.
    11. Click the Settings tab.
    12. Verify that the Stop the task if it runs for check box is selected.
    13. Verify that the duration is set to 72 hours.
    14. Click the Security tab.
    15. Verify that Administrators and System are set to allow Full Control.
    16. Click OK.
  4. Double-click the Workspace SampleWorkspace Weekly Subscription Notification task.
    1. Click the Task tab.
    2. Verify that the Run box contains a command line that is similar to the following line:

      "C:\Program Files\SharePoint Portal Server\Bin\pkmntfy.exe" SampleWorkspace W

    3. Verify that the Enabled (scheduled task runs at specific time) check box is selected.
    4. Click the Schedule tab.
    5. Under Scheduled Task, verify that Weekly is selected.
    6. Verify that the Sun check box is selected.
    7. Click the Settings tab.
    8. Verify that the Stop the task if it runs for check box is selected.
    9. Verify that the duration is set to 72 hours.
    10. Click the Security tab.
    11. Verify that Administrators and System are set to allow Full Control.
    12. Click OK.

Modification Type:MajorLast Reviewed:1/3/2003
Keywords:kbprb KB321452