Quantcast
Channel: The SharePoint Farm
Viewing all articles
Browse latest Browse all 184

Using PowerShell to Manage SharePoint Email Settings

0
0
Each SharePoint Document Library is capable of accepting Incoming Email.  Here is how to manage the settings via PowerShell. In SharePoint 2010, the SharePoint Management Shell must run as the Application Pool account when setting the EmailAlias property.  Other properties can be set as a standard Shell Admin user. First, bind to the Web and the List: [crayon-5200c71bd285d211621922/] When making a change to a list property, make sure to call the Update() method, for example: [crayon-5200c71bd286b291682200/] Here are the various settings you can apply.  I’ll be translating from the SharePoint UI to the PowerShell property.   E-mail address (note this also sets Allow this document library to receive e-mail?) [crayon-5200c71bd2876844822886/] Group attachments in folders? [crayon-5200c71bd287f609309001/] Overwrite files with the same name? [crayon-5200c71bd2887047975996/] Save original e-mail? [crayon-5200c71bd2890936319050/] Save meeting invitations? [crayon-5200c71bd2898924958000/] E-mail security policy: [crayon-5200c71bd28a1557674961/] To disable Incoming Email on a Library, simply run: [crayon-5200c71bd28a9182525871/]  

Viewing all articles
Browse latest Browse all 184

Latest Images

Trending Articles



click here for Latest and Popular articles on Mesothelioma and Asbestos


Latest Images