locked
Email Alerts not working RRS feed

  • Question

  • Hi All,

    I am facing a very strange issue. I have two web application in my farm.

    In one web aplication email notification is working fine, but there is problem in the second one.

    I am able to get emails from workflow, email when user is added, email when alert is configured in doc lib/list but when i make any changes to the doc lib by adding or deleting a doc i am not getting any alerts.

    In the timer job status in central admin i can see Immediate alerts as successful in both WFE. I have check the database tables too and the url there in the SiteUrl column i am geting the correct web application url. I have checked the setproperty option and even thats fine. I also used the updatealertstemplate command pointing it to the default alerttemplate.xml file.

    Still i am not getting the alerts for document library. In one web application its working compeltely fine its only in the second web application that i am facing this issue.

    Can anyone help, please

    Thanks

    Nez

     

    Can anyone please help

    • Changed type Mike Walsh FIN Thursday, April 22, 2010 3:54 PM always use the Question Type so people get credit for their replies
    Thursday, April 22, 2010 3:34 PM

Answers

  • how is the smtp configured? do u have a different SMTP server all together? or its configured on the web servers itself?

     Hows the web farm set up?

    try checking the stmp folder mailroot on the web servers to see if the mails are getting queued up in bad mail folder?

    • Marked as answer by GuYuming Saturday, May 1, 2010 7:37 AM
    Friday, April 23, 2010 4:46 AM

All replies

  • how is the smtp configured? do u have a different SMTP server all together? or its configured on the web servers itself?

     Hows the web farm set up?

    try checking the stmp folder mailroot on the web servers to see if the mails are getting queued up in bad mail folder?

    • Marked as answer by GuYuming Saturday, May 1, 2010 7:37 AM
    Friday, April 23, 2010 4:46 AM
  • Since outgoing email can be set on web application level, are the two web applications using the same outgoing email SMTP server? If not, please check the setting of different SMTP servers used by the two web applications.

     

    If your two web application use different web application pool identity, and the workflow send out email in W3wp.exe process, one of the application pool identity may not have the permission to send out email through the SMTP server.  

     

     

    Please read what follows from http://msdn.microsoft.com/en-us/library/cc514224.aspx :

    You should understand which process hosts your workflow in each of these scenarios:

    • The most common hosting process is W3wp.exe, the worker process for the IIS Web application hosting the SharePoint site with your workflow.
    • If your workflow uses DelayActivity or if a noncatastrophic problem occurs when the workflow instance starts, the host process is Owstimer.exe (Windows SharePoint Timer Service).
    • When an external application (such as a console application, Web service, or Windows Communication Foundation service) creates items programmatically through the SharePoint object model, the process running the code becomes the workflow host.
    Saturday, May 1, 2010 8:07 AM