1
vote
2answers
866 views

GetFile('URL to layout') returns: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

I have made a few HTML files which I intend to use as either email templates or schemas. When I run this code: var t = "Not found!"; SPSecurity.RunWithElevatedPrivileges(() => { ...
2
votes
2answers
401 views

Sharepoint site request access email format

Below are the screen shot email samples coming from sharepoint when users request access to a certain site. My issue is highlighted in red box. If the user belong to TECH domain (Figure 1), the ...