Set Allow this document library to receive e-mail in Incoming E-Mail - CSOM
-
10-10-2020 - |
Pergunta
How to programmatically set Allow this document library to receive e-mail in Incoming E-Mail section for Document Libraries in C# code? I could set other Incoming E-Mail properties as follows:
rootFolder.Properties["vti_emailusesecurity"] = 1;
rootFolder.Properties["vti_emailsaveattachments"] = 1;
rootFolder.Properties["vti_emailattachmentfolders"] = "subject";
rootFolder.Properties["vti_emailoverwrite"] = 1;
Solução
EnableAssignToEmail property is not available in CSOM. So there is no way set incoming emails through CSOM but it's possible through PowerShell Scripts.
Outras dicas
Added a request to the SharePoint uservoice forum:
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange