共用方式為


How to disable the email "Getting the most out of SharePoint"

[Disclaimer: https://blogs.msdn.microsoft.com/suresh/disclaimer/]

Few customers want to disable the email message "Getting the most out of SharePoint", which will be sent out when new MySite gets provisioned, Since the email format will not adhere to their process or multi language.

There is a property called  “SendWelcomeEmail” property on UserProfileApplication. It has been used only for welcome mail which will be sending after my site provisioning. It will not stop other mails. The below script will help to disable. Test it out in your dev environment.

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

$upaApp = Get-SPServiceApplication | Where {$_.DisplayName -eq 'UPA'}

$upaApp.SendWelcomeEmail = $false

$upaApp.Update()