3

We have a SharePoint system installed. The customer has changed the email system.

After that emails that are sent out in our code using SPMail, and as the user uses the system work OK.

Mails that are sent as part of a workflow are not sent.

Does anyone know what the difference is between these two ways of sending an email?

2
  • Are alerts being sent out ok?
    – Lori
    Commented Apr 15, 2011 at 14:08
  • 2
    Did you change the outgoing email configuration? Did you try restarting timer service?
    – vasya10
    Commented Apr 15, 2011 at 14:09

3 Answers 3

9

You will need to go into Central Administration and update the outgoing email settings for the farm to point to the new email server. You should also check that web application itself is pointing to the new email server as well since the Web Application settings override the farm settings.

You also might want to check your Event Logs and LOGS folder to see if there is more specific information about the error.

5

Dave has a good answer, however, if this has been done, I would check to make sure that the relay is set up correctly to allow all traffic from the IP addresses of all servers in your farm without authentication. It appears that your code may send credentials while the alerts and OOTB workflow emails are not sent using any particular credentials.

1
  • This is also a good place to check as I have now seen two occasions in the past year where applying a Microsoft update has reset the SMTP relay settings back to the default.
    – Dave Wise
    Commented Apr 15, 2011 at 20:23
0

Glad that you already found a solution. But it also happens that workflow hangs on waiting for an event and thus no further events are triggered.

Many of these issues are fixed with Service Packs and hotfixes, but sometimes the issue remains. In my case, i had to rearrange workflow logic to workaround these issues and just try it the hard way - will it (sometimes) hang this way or not?.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.