Tag: Send email using PnP PowerShell

SharePoint Online Automation – O365 – Send email from SharePoint online Using CSOM PowerShell script

 4,413 total views

 4,413 total views In this post, I will share how we can send emails from SharePoint online using CSOM PowerShell script code programmatically. CSOM PowerShell Script to send email from SharePoint online CLS #Load SharePoint CSOM Assemblies #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” $fileName = “Email_Sending_Report”

Continue reading