I have outgoing email woorking fine.

When I add an alert to a list, the email goes on if an item is changed, however, the links are to the actual servername and not the hostname.

Links in the alert email are to


instead of


Could this be related to alternate access mapping?

PS: I have two separate web applications running on the one SharePoint instance.

1 Answer 1


Try setting the Default AAM to http://mysite.contoso.com.


Perhaps if you have changed Web Application URLs earlier, you might want to look into Invoke-AlertFixup.ps1 that can be used when Web app URL has changed. While this might fix the issue, make sure to also test it by creating new Alert after running the script.

  • Hi, It was the AAM that fixed it, but only after an IISRESET /NOFORCE :-) Aug 4, 2014 at 8:14

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.