Advertisement
I prepared a script,easy way to configure the outgoing email using powershell.
Here we check the image before executing the script
$SMTPServer = 'mail.dotnetsharepoint.com'
$FromAddress = 'jlakshmitulasi@dotnetsharepoint.com'
$ReplytoAddress = 'jlakshmitulasi@dotnetsharepoint.com'
$Charset = 65001
$CAWebApplication = Get-SPWebApplication -IncludeCentralAdministration | Where { $_.IsAdministrationWebApplication }
$CAWebApplication.UpdateMailSettings($SMTPServer, $FromAddress, $ReplytoAddress, $Charset)
Here we can check the output after executed the script
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiLkbf9x4_mr2vrIiVb3eFFVhMnFuthHA5DNJ-aHFNUN8schnyCv4stpUY8G7Ulrri1euDQsJWXTvScYvOOLRNGeMPq89DJCpO0pL4PbgBjJ5RLV3mScBcWP4JA1KI3kjSGIVCuCqMcVZn/s1600/outgoingemail2.png)
SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM
Here we check the image before executing the script
$FromAddress = 'jlakshmitulasi@dotnetsharepoint.com'
$ReplytoAddress = 'jlakshmitulasi@dotnetsharepoint.com'
$Charset = 65001
$CAWebApplication = Get-SPWebApplication -IncludeCentralAdministration | Where { $_.IsAdministrationWebApplication }
$CAWebApplication.UpdateMailSettings($SMTPServer, $FromAddress, $ReplytoAddress, $Charset)
Here we can check the output after executed the script
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiLkbf9x4_mr2vrIiVb3eFFVhMnFuthHA5DNJ-aHFNUN8schnyCv4stpUY8G7Ulrri1euDQsJWXTvScYvOOLRNGeMPq89DJCpO0pL4PbgBjJ5RLV3mScBcWP4JA1KI3kjSGIVCuCqMcVZn/s1600/outgoingemail2.png)
SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM
0 comments:
Post a Comment