0

I am facing the issue that I do not have a value for email in SPUser object on Site Collection level but in Subsites.

I tried web.EnsureUser as well, which loads the user correctly (-1# issue) but still the Email value and other properties in .User are emtpy.

When trying to send mail to an user using the UI (from users & groups list), I retrieve message "no mail for user" as well.

Since I am running out of ideas I hope someone can help me out.

0

User Profile doesn't have email defined for that user. Fill it in in User Profile Service either manually, or by synchronizing it from user account store, such as Active Directory.

  • Thanks Jussi. Indeed the Work Email field is not synchronized with AD. I am now wondering which Email SharePoint uses in the SubSite when I go to "Send mail to User". That cant be the Workmail than, any idea? – Marcel Apr 8 '15 at 7:49
  • It is indeed using the "Work email". – Jussi Palo Apr 8 '15 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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