We've got a Sharepoint 2007 site, and alerts are in place for changes to Tasks & Milestones, so users receive emails whenever they are assigned a new Task.
However, many of those emails are going to the wrong account. The email will display the correct name, and everything appears as normal, it is just that the email address it is being sent to is incorrect.
When viewing the task itself in Tasks & Milestones, and clicking on the Assigned To link (which shows the correct user that should have received the alert) - which should display userDisp.aspx, this (almost always) results in a 404 error - FOR THOSE ALERTS THAT WERE SENT TO THE WRONG EMAIL ADDRESS.
Searching concentrating on this part yielded results based on the fact that My Site was initially enabled, but has been disabled in the last few months. This yielded the following advice: In userDisp.aspx, replace any instances of 'Scope="Farm"' with 'Scope="Web"'.
This part I'm comfortable with, and I'd have thought it will fix the 404 issues (I can't yet perform the necessary iisreset to confirm it), but I wouldn't have thought that this will fix the issues with the alerts going to the incorrect address. I've tried searching for similar advice relating to alerts, but so far, I've found nothing.
As suggested by Dirbbel & Ziga (thanks both for your input) ... I've checked the email addresses associated with the accounts, they are correct. I've created a Console App and, for a sample of known errors, tried checking that the alert email address is the correct one for the associated user name, rather than the address that the message ends up with. This is the case - the alerts are associated with the correct email addresses, rather than the addresses where the emails are actually sent. As I say, I could not access the user accounts in userDisp.aspx, so I would have thought that the two issues are related?
Update: From speaking to users, it would appear that the users who SHOULD get the emails DO also get them. So, for example, here is the scenario: - All users have an alert in place for when their individual Tasks & Milestones list is updated. - When items from some other lists are created/updated, associated users will receive a new Task & Milestones item. Say, here, users A and B will get a new item, asking them to review an item which has been added to another list. - Users A and B are sent an email each, as would be expected. However, user C is also sent both emails individually. These items do not appear in the Tasks & Milestones for user C, and the emails themselves show the Assigned To as user A and user B respectively.
Can anyone provide any advice? Thanks in advance for any help.
Regards, Ashley