Outbound e-mail has not been configured.


Severity 1 – Error 
Category Configuration 
Explanation A default SMTP server has not been configured.  One or more web applications do not have SMTP servers configured.  Because of this, features such as alerts will not function properly.
Remedy Configure an outgoing e-mail server from the central administration site or execute the following command: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin\stsadm.exe-o email -outsmtpserver <SMTP server> -fromaddress <someone@example.com> -replytoaddress <someone@example.com> -codepage <codepage> For more information about this rule, see http://go.microsoft.com/fwlink/?LinkID=142684.

 

Solution – PowerShell approach:

$ErrorActionPreference = "Stop"
Add-PSSnapin Microsoft.SharePoint.PowerShell -EA 0

$SMTPSvr = ‘mailserver.domainame.local’
$FromAddr = ‘noreply@domainame.local’
$ReplyAddr = ‘noreply@domainame.local’
$Charset = 65001

$CAWebApp = Get-SPWebApplication -IncludeCentralAdministration | Where { $_.IsAdministrationWebApplication }
$CAWebApp.UpdateMailSettings($SMTPSvr, $FromAddr, $ReplyAddr, $Charset)

 

Verify@:  Central Administration > System Settings > Configure outgoing e-mail settings

image

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.