SOLVED

SP2019 - unable to email - test with SP2013 workflow and incoming email

Iron Contributor

I am trying to get email to work.

 

I have a SharePoint 2019 system and I am testing a quick / simple workflow with SharePoint Designer 2013 and a SP2013 workflow.

 

I have two servers in the farm with minrole Application with Search and Front-end with Distribution Cache.

servers.png

 

It is kicked off when I create an item in a list.

 

2013workflow.png

 

I run the workflow and am "stuck" on this:

 

SP2013workflow.png
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP InternalServerError to https://SharePoint2019/departments/IT/_api/sp.utilities.utility.SendEmail Correlation Id: 911b7bcf-c310-9ef1-b587-13d71624dae4 Instance Id: 0b3513ff-7738-41d0-8dc8-a6a92e0ee157

Service not available, closing transmission channel. The server response was: 4.3.2 Service not available

 

 

Central Administration:

Outgoing e-mail settings:

/_admin/globalemailconfig.aspx

outgoingemail.png

 

Incoming email

/_admin/IncomingEmail.aspx

Incoming.png

Email drop folder is on a the app server.

 

This is the ULS log

Name=Request (POST:https://DNSDomainName/departments/IT/_api/sp.utilities.utility.SendEmail)
SPRequestModule.BeginRequestHandler End, SP Build Version: '16.0.10384.20000'
User-Agent is empty
Using input cookie name. CookieName: 'FedAuth'.
User-Agent is empty
User-Agent is empty
User-Agent is empty
SPApplicationAuthenticationModule: Clear outgoing token context from SpThreadContext 
SPApplicationAuthenticationModule: Clear cross tenant token context from SpThreadContext 
Entering Monitored Scope (Application Authentication Pipeline). Parent=SPClaimsCounterScope
OAuth Token: {"typ":"JWT","alg":"none"}.{"actortoken":"...","nii":"urn:office:idp:activedirectory","upn":"<name>Email address removed</name>","smtp":"Email address removed","nameid":"s-1-5-21-939007976-1822922530-3574825930-51614","iss":"0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a","aud":"00000003-0000-0ff1-ce00-000000000000/DNSDomainName@9ea59db8-17a6-4d42-8998-58bc10ca629a","exp":1647422210,"nbf":1647385910}; actor: {"typ":"JWT","alg":"RS256","x5t":"8BxYjnP7HQimn5ZpP5-6x_rWXmg"}.{"nameid":"0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a","iss":"00000005-0000-0000-c000-000000000000@9ea59db8-17a6-4d42-8998-58bc10ca629a","aud":"00000003-0000-0ff1-ce00-000000000000/DNSDomainName@9ea59db8-17a6-4d42-8998-58bc10ca629a","exp":1647422210,"nbf":1647385910,"trustedfordelegation":"true"}
SPApplicationAuthenticationModule: Read Token
The relative AudienceUri is valid.
The token audience is valid. Audience: '00000003-0000-0ff1-ce00-000000000000/DNSDomainName@9ea59db8-17a6-4d42-8998-58bc10ca629a', Mode: 'RelativeUri, AbsoluteUriWithTenantId'.
SPJsonWebSecurityTokenHandler: Audience Validation succeeded.
The relative AudienceUri is valid.
The token audience is valid. Audience: '00000003-0000-0ff1-ce00-000000000000/DNSDomainName@9ea59db8-17a6-4d42-8998-58bc10ca629a', Mode: 'RelativeUri, AbsoluteUriWithTenantId'.
SPJsonWebSecurityTokenHandler: Audience Validation succeeded.
Validate : Flight disabled. Will not retrieve Thumbprint F01C588E73FB1D08A69F96693F9FBAC7FAD65E68 from cache
Token is not issued by SP. Skipping cross-tenant check.
Json token issuer is not self issuer. IssuerName: '00000005-0000-0000-c000-000000000000'.
SPIncomingTokenContext initialization: Did not find InternalNameIdentifierIssuer claim.
SPIncomingTokenContext initialization: Did not find ClientAppId claim.
GetAppIdFromIdentity: Returning Appid:'0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282'
SPIncomingTokenContext initialization: Did not find ApplicationContext claim.
SPIncomingTokenContext initialization: Did not find Version claim.
SPIncomingTokenContext: Did not find Claim ipAddr.
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'app_displayname'.
Value from Actor token: ''.
Did not find token claim in token. ClaimType: 'app_displayname'.
Value from token: ''.
Setting SPSharedRequestContext on thread with:  tid:  scp:  appctx:  app_displayname:  isnoauth: False
Set Evo outgoing token context on thread
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'scope'.
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'scp'.
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'clientappid'.
ClientAppId claim does not exist. Trying forAppId claim.
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'appid'.
Found SPIncomingTokenContext in the thread context.
Did not find token claim in token. ClaimType: 'roles'.
SPApplicationAuthenticationModule: Incoming token contains actor. Trying to attach it to current thread. Incoming Actor Identity: ''
SPApplicationAuthenticationModule: Attached actor identity to current thread. Actor Identity:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a.
Entering Monitored Scope (Getting Site Subscription Id). Parent=[S2S] Getting token from STS and setting Thread Identity
Leaving Monitored Scope: (Getting Site Subscription Id) Execution Time=0.079; CPU Milliseconds=0; SQL Query Count=0; Parent=[S2S] Getting token from STS and setting Thread Identity
Entering Monitored Scope (Reading token from Cache using token signature). Parent=[S2S] Getting token from STS and setting Thread Identity
Leaving Monitored Scope: (Reading token from Cache using token signature) Execution Time=0.0388; CPU Milliseconds=0; SQL Query Count=0; Parent=[S2S] Getting token from STS and setting Thread Identity
SPApplicationAuthenticationModule: AuthenticatedWopi flight enabled.
Trying to get app identity from incoming token.
OAuth app principal Name=i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a, IsAppOnlyRequest=False, UserIdentityName=0#.w|domain\username, ClaimsCount=16
AppMngMinDb: Got SubscriptionId 0c37852b-34d0-418e-91c6-2ac25af4be5b from partion key.  SubscriptionId 00000000-0000-0000-0000-000000000000 is in the SPServiceContext.
AppMngMinDb: Executing query: dbo.proc_AM_GetAppPrincipalPerms on Legacy db with context subId: 00000000-0000-0000-0000-000000000000 and compositeKeyId: 0c37852b-34d0-418e-91c6-2ac25af4be5b
The app principal instance for app principal i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a is not available.
Un-whitelisted client sent us an OAuth token. Client Id : '0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282'.
monitor is null, skipping logging
Client Id : 0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282. Token Type : UserAndApplication.
SPApplicationAuthenticationModule Authentication finished successfully for user:0#.w|domain\username and actor:
Leaving Monitored Scope: (Application Authentication Pipeline) Execution Time=5.0107; CPU Milliseconds=3; SQL Query Count=1; Parent=SPClaimsCounterScope
SPRequestModule.PostAuthenticateRequestHandler Begin
Trying to get app identity from incoming token.
OAuth app principal Name=i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a, IsAppOnlyRequest=False, UserIdentityName=0#.w|domain\username, ClaimsCount=16
AppMngMinDb: Got SubscriptionId 0c37852b-34d0-418e-91c6-2ac25af4be5b from partion key.  SubscriptionId 00000000-0000-0000-0000-000000000000 is in the SPServiceContext.
AppMngMinDb: Executing query: dbo.proc_AM_GetAppPrincipalPerms on Legacy db with context subId: 00000000-0000-0000-0000-000000000000 and compositeKeyId: 0c37852b-34d0-418e-91c6-2ac25af4be5b
The app principal instance for app principal i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a is not available.
Value for isAnonymousAllowed is : False
Value for checkAuthenticationCookie is : True
SPRequestModule.PostAuthenticateRequestHandler End
SPRequestModule.PostAuthorizeRequestHandler Begin
SPRequestModule.PostResolveRequestCacheHandler Begin
SPRequestModule.PostResolveRequestCacheHandler End
SPRequestModule.AcquireRequestStateHandler
SPRequestModule.PostAcquireRequestStateHandler Begin
SPRequestModule.PostAcquireRequestStateHandler End
SPRequestModule.PreRequestExecuteAppHandler Begin
SPRequestModule.PreRequestExecuteAppHandler End
The partition's default odata protocol is None
OData3 request
Set partition='' and adjust path from 'sp.utilities.utility.SendEmail' to 'sp.utilities.utility.SendEmail'
Begin CSOM Request ManagedThreadId=56, NativeThreadId=13236
Created claims operation context from site object. SPSite: '8c05b54f-28e5-4505-bb13-f9b3bc68fb62', Source: 'SiteWithoutSiteSubscription'.
Created claims operation context from site object. SPSite: '8c05b54f-28e5-4505-bb13-f9b3bc68fb62', Source: 'SiteWithoutSiteSubscription'.
Context has no SMTP/UPN claims. IdentityContext: '{"nameid":"s-1-5-21-939007976-1822922530-3574825930-51614","nii":"urn:office:idp:activedirectory","upn":"Email address removed","userId":"0#.w|domain\\username","appliesTo":"https:\/\/DNSDomainName\/"}'
Site=/departments/IT
Reading perms from database instead of the token
TenantScopedPerm=0, AllowAppOnlyPolicy=False, AppId=i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a, AppPermForCurrentWeb=0
Checking SPBasePermissions.Open permission
The current user '0#.w|domain\username' is not in the StackTraceEnabledUsers
SPClientServiceHost.OnBeginRequest End
Accept Header: application/json; odata=verbose
Content-Type Header: application/json; odata=verbose
Url Segment 'sp.utilities.utility.SendEmail'
serviceHost_RequestExecuting
Sending email via REST
EntityTypes calculated. Web: '7fa0379f-9912-4356-948b-aa0aacdbc61f', WebApp: 'null', EntityTypeCount: '6'.
Entering Monitored Scope (VqueryEngine). Parent=SPRequest.GetListItemDataWithCallback2
VqueryEngine invoked for SiteId:'{8C05B54F-28E5-4505-BB13-F9B3BC68FB62}', ListId:'{8A06CC04-7CE2-4B24-856A-5D5DCE5EC5D8}'
Leaving Monitored Scope: (VqueryEngine) Execution Time=1.824; CPU Milliseconds=1; SQL Query Count=1; Parent=SPRequest.GetListItemDataWithCallback2
SPUserUtility2::GetPrincipalInfoByIds:othermail field value is '.
Found match in user info list. Input : i:0#.w|domain\username.
EntityTypes calculated. Web: '7fa0379f-9912-4356-948b-aa0aacdbc61f', WebApp: 'null', EntityTypeCount: '6'.
No match in user info list. Input : workflow@noreply.
SPCollaborationTypesHelper.GetEveryoneClaimEnabledDefaultValue: EveryoneClaimEnabled default value is true
Exception from site settings manager. Using default value. Key: 'EveryoneClaimEnabled', Default: 'True', Exception 'System.ArgumentNullException: Value cannot be null.  Parameter name: siteSubscription     at Microsoft.SharePoint.SPSiteSubscriptionSettings.GetSettings(SPSiteSubscription siteSubscription)     at Microsoft.SharePoint.Administration.Claims.SPAllUserClaimProvider.GetClaimVisibilitySetting(String siteSubscriptionKey, SPSiteSubscription siteSubscription, Boolean defaultValue)'.
SPCollaborationTypesHelper.GetAllUserClaimEnabledDefaultValue: AllUserClaimEnabled default value is true
Exception from site settings manager. Using default value. Key: 'AllUserClaimEnabled', Default: 'True', Exception 'System.ArgumentNullException: Value cannot be null.  Parameter name: siteSubscription     at Microsoft.SharePoint.SPSiteSubscriptionSettings.GetSettings(SPSiteSubscription siteSubscription)     at Microsoft.SharePoint.Administration.Claims.SPAllUserClaimProvider.GetClaimVisibilitySetting(String siteSubscriptionKey, SPSiteSubscription siteSubscription, Boolean defaultValue)'.
Email resolve disable value is 'False'
Context has no SMTP/UPN claims. IdentityContext: '{"nameid":"s-1-5-21-939007976-1822922530-3574825930-51614","nii":"urn:office:idp:activedirectory","upn":"Email address removed","userId":"0#.w|domain\\username","appliesTo":"https:\/\/DNSDomainName\/"}'
Reading perms from database instead of the token
TenantScopedPerm=0, AllowAppOnlyPolicy=False, AppId=i:0i.t|ms.sp.ext|0c5a7d2f-4e08-f9ac-d067-ac46ef4cc282@9ea59db8-17a6-4d42-8998-58bc10ca629a, AppPermForCurrentWeb=0
TryGetSecurityIdentifierFromEncodedClaim received input that is not an encoded claim. Input: 'workflow@noreply'.
Workflow 2013 request, but the input is not a SID. Input: 'workflow@noreply'.
SPMailMessageHelper.IsOutboundMailPortAndEnableSslEnabled: Returning true - the OutboundMailPortAndEnableSsl flight is enabled.
SPMailMessageHelper.IsOutboundMailPortAndEnableSslEnabled: Returning true - the OutboundMailPortAndEnableSsl flight is enabled.
SPMailMessageHelper.IsOutboundMailSmtpAuthenticationEnabled: Returning true - the OutboundMailSmtpAuthentication flight is enabled.
SPSmtpClient.IsOutboundMailAllowOverrideEnvelopeSenderEnabled: Returning true - the OutboundMailAllowOverrideEnvelopeSender flight is enabled.
SPSMTPClient::Site.SiteSubscription is null.
SPMailMessageHelper.SendMailMessage Start: My Scenario Start
SPSMTPClient.Send::start
SPSmtpClient Start: My Scenario Start
Beginning attempt 1 to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
SPMailMessageHelper.CreateHeaders: X-SpMailMessageId = d3a32f0d-06b3-4314-8a68-3a9230bd5bac
Attempting to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Failed attempt 1 sending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow. Error: SmtpException while sending email: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)
Sleeping before resending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Beginning attempt 2 to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Attempting to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Failed attempt 2 sending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow. Error: SmtpException while sending email: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)
Sleeping before resending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Beginning attempt 3 to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Attempting to send mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow.
Failed attempt 3 sending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow. Error: SmtpException while sending email: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)
SPSmtpClient Failure: Failed attempt 3 sending mail to recipients: "Carter, Matthew L." <Email address removed>. Mail Subject: SP2019 - 2013 workflow. Error: SmtpException while sending email: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)
SPMailMessageHelper.SendMailMessage Failure: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)
Exception occured in scope Microsoft.SharePoint.Utilities.SPUtility.SendEmail. Exception=System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)
Original error: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)
SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)]
Leaving Monitored Scope: (Microsoft.SharePoint.Utilities.SPUtility.SendEmail) Execution Time=10237.843; CPU Milliseconds=22; SQL Query Count=5; Parent=Request (POST:https://DNSDomainName/departments/IT/_api/sp.utilities.utility.SendEmail)
Original error: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()
SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()]
serviceHost_RequestExecuted
RestException=System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()     at Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(ClientServiceHost serviceHost, Stream inputStream, IList`1 pendingDisposableContainer)
Original error: System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()     at Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(ClientServiceHost serviceHost, Stream inputStream, IList`1 pendingDisposableContainer)
SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available     at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)     at System.Net.Mail.SmtpClient.GetConnection()     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.SharePoint.Email.SPSmtpClient.SendOnce(MailMessage msg, Boolean useAlternateServer)     at Microsoft.SharePoint.Email.SPSmtpClient.Send(MailMessage msg)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSmtpClient smtpClient, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Email.SPMailMessageHelper.SendMailMessage(SPSite site, MailMessage mailMessage, Boolean useEws)     at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_ClientInternal(SPWeb web, EmailProperties properties, FromAddressGenerator generateFromFunc)     at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()     at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()     at Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(ClientServiceHost serviceHost, Stream inputStream, IList`1 pendingDisposableContainer)]
SPClientServiceHost.OnEndRequest Begin
End CSOM Request. Duration=10246 milliseconds.
SPClientServiceHost.OnEndRequest End
SPRequestModule.PreSendRequestHeaders End
SPRequestModule.PostLogRequestHandler Begin
SPRequestModule.PostLogRequestHandler End
SPRequestModule.EndRequestHandler Begin
Micro Trace Tags: 0 avwhy,0 nasq,0 avwhz,0 cnzk8,0 bjkuz,0 cnzk8,0 cnzk8,0 cnzk8,0 bjvyg,0 bnksk,0 nasq,0 baftu,0 cfruq,0 a6jmx,0 a6jns,0 a6jn5,0 a6jmx,0 a6jns,0 a6jn5,0 b5yur,1 bpcu1,0 ah25l,0 bjv9b,0 bjv9d,0 bmh2y,0 bjv9h,0 bjv9j,0 b5qul,0 bab7j,0 bab7m,0 bik6j,0 bab7m,0 bik6k,0 be4va,0 bjvyh,0 bab7j,0 bab7m,0 bab7j,0 bab7m,0 bab7j,0 bab7m,0 bjvyj,0 bab7j,0 bab7m,0 bab7j,0 bab7m,0 a4cq8,0 ajwpw,0 nasq,0 b4ly,0 nasq,0 b4ly,0 azh5o,0 a4cre,0 ag6al,0 azevu,0 awfez,1 aoa6z,0 cm9q2,0 cm9q1,0 cfrun,0 ahkpt,0 b4ly,0 avwh6,0 a4cre,0 ag6al,0 azevu,0 awfez,1 aoa6z,0 ajd6k,0 ajd6l,0 avwh7,0 avwh8,0 avwh0,0 avwh1,0 aj1kn,0 avwh2,0 avwh3,0 avwhu,0 avwhv,1 az27h,0 az27j,0 azmvu,0 agw10,0 a6oo3,0 a6oo3,0 anvuv,6 ag69m,0 aii1c,0 apo8x,0 avwif,0 artm2,0 artm3,0 axkc9,0 aizmk,0 aw7fc,0 bedea,3 adhpr,1 adhpr,1 b0zsz,0 beddz,0 bedea,0 beddy,0 bygrc,0 avqtc,0 bygrc,0 avqtc,0 a9rd0,0 anvuv,4 ag69m,23 bz5w4,0 bnue4,0 ay53q,0 ay53q,0 chc79,0 a8hhg,0 ccqkf,0 a7uep,0 awwa4,0 avuds,0 ajs4v,0 a2ymj,0 ajs4x,59 aiba9,0 ai67i,5009 ajs4v,0 ajs4x,59 aiba9,0 ai67i,5011 ajs4v,0 ajs4x,59 aiba9,0 avudu,0 a7uey,0 ahjq1,0 agmjp,0 aizmo,0 b4ly,0 agmjp,0 aizmo,0 aizmj,0 aw4i6,0 agmjp,0 aizmo,0 avwig,0 agw11,0 avwih,0 avwh5,0 avwia,0 avwib,0 avwic
Sending HTTP response 500 for HTTP POST request
SPRequestModule::CreatePageViewedAuditEntry: Has PageViewed been suppressed for this request: True
Leaving Monitored Scope: (Request (POST:https://DNSDomainName/departments/IT/_api/sp.utilities.utility.SendEmail)) Execution Time=10259.1267; CPU Milliseconds=30; SQL Query Count=8; Parent=None
SPRequestModule.EndRequestHandler End
SSAProxy call without SubscriptionId: [GetImsEndpointAddresses]
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)     at System.Environment.get_StackTrace()     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.LogInvocationSubscription(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Boolean asService, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetImsEndpointAddresses()     at Microsoft.Office.Server.Search.Query.Ims.LoadBalancer.ImsLoadBalancer.CheckEndpoints(Func`1 getEndpointAddresses)     at Microsoft.Office.Server.Search.Query.Ims.LoadBalancer.ImsLoadBalancer.<DoCheckEndpoints>b__8()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)     at Microsoft.Office.Server.Search.Query.Ims.LoadBalancer.ImsLoadBalancer.DoCheckEndpoints(Object state)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.TimerQueueTimer.CallCallback()     at System.Threading.TimerQueueTimer.Fire()     at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()
SearchServiceApplicationProxy::GetImsEndpointAddresses--timeouts=120000,120000
SearchServiceApplicationProxy::GetImsEndpointAddresses--Proxy Name:Search Service Application Proxy EndPoint: http://DomainAppServer:32843/eec9cd7712e8453390f67f944d89234f/SearchService.svc
SearchServiceApplicationProxy::GetChannel--Channel Creation time: 0
SearchServiceApplicationProxy::GetImsEndpointAddresses - Open Elapsed Time: 0 Endpoint: http://DomainAppServer:32843/eec9cd7712e8453390f67f944d89234f/SearchService.svc
WcfSendRequest: RemoteAddress: 'http://DomainAppServer:32843/eec9cd7712e8453390f67f944d89234f/SearchService.svc' Channel: 'Microsoft.Office.Server.Search.Administration.ISearchServiceApplication' Action: 'http://tempuri.org/ISearchQueryServiceApplication/GetImsEndpointAddresses' MessageId: 'urn:uuid:fd808a70-5dfd-489a-9570-827c53fc8141'
Leaving Monitored Scope: (ExecuteWcfOperation:http://tempuri.org/ISearchQueryServiceApplication/GetImsEndpointAddresses) Execution Time=201.0933; CPU Milliseconds=2; SQL Query Count=2; Parent=GetImsEndpointAddresses
Leaving Monitored Scope: (GetImsEndpointAddresses) Execution Time=201.5474; CPU Milliseconds=2; SQL Query Count=2; Parent=None
SearchServiceApplicationProxy::GetImsEndpointAddresses--Id: Elapsed Time: 201 Proxy Name/ID: Search Service Application Proxy/f8c746cc-6d42-4f7f-91fd-b80d37135de5 EndPoint: http://DomainAppServer:32843/eec9cd7712e8453390f67f944d89234f/SearchService.svc
Ims::EndPoints: old: , new: net.tcp://DomainAppServer/51E111/QueryProcessingComponent1/ImsQueryInternal
Ims::EndPoints: net.tcp://DomainAppServer/51E111/QueryProcessingComponent1/ImsQueryInternal

 

 

 

 

 

 

I tried to setup an alert me on a document library.  I was able to, yet never got an email.

I then tried to setup an incoming e-mail settings for a document library to receive email.  I put in the e-mail address and then clicked OK on the Document Library settings page and got an error.

 

Name=Request (POST:https://DNSSiteName/departments/IT/_layouts/15/EmailSettings.aspx?List={83C1AC31-1DCE-41F6-9EA8-33E8...})
SPRequestModule.BeginRequestHandler End, SP Build Version: '16.0.10384.20000'
Using input cookie name. CookieName: 'FedAuth'.
The absolute uri validation succeeded. AudienceUri: 'https://DNSSiteName/departments/IT/Lists/2013workflowtest/AllItems.aspx'.
SPApplicationAuthenticationModule: Clear outgoing token context from SpThreadContext 
SPApplicationAuthenticationModule: Clear cross tenant token context from SpThreadContext 
SPRequestModule.PostAuthenticateRequestHandler Begin
Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\username1, ClaimsCount=104
Value for isAnonymousAllowed is : False
Value for checkAuthenticationCookie is : True
SPRequestModule.PostAuthenticateRequestHandler End
SPRequestModule.PostAuthorizeRequestHandler Begin
SPRequestModule.PostResolveRequestCacheHandler Begin
SPRequestModule.PostResolveRequestCacheHandler End
SPRequestModule.AcquireRequestStateHandler
SPRequestModule.PostAcquireRequestStateHandler Begin
SPRequestModule.PostAcquireRequestStateHandler End
SPRequestModule.PreRequestExecuteAppHandler Begin
Created claims operation context from site object. SPSite: '8c05b54f-28e5-4505-bb13-f9b3bc68fb62', Source: 'SiteWithoutSiteSubscription'.
Created claims operation context from site object. SPSite: '8c05b54f-28e5-4505-bb13-f9b3bc68fb62', Source: 'SiteWithoutSiteSubscription'.
Context has no SMTP/UPN claims. IdentityContext: '{"nameid":"s-1-5-21-939007976-1822922530-3574825930-51614","nii":"urn:office:idp:activedirectory","upn":"Email address removed","userId":"0#.w|domain\\username1","appliesTo":"https:\/\/DNSSiteName\/"}'
Site=/departments/IT
SPRequestModule.PreRequestExecuteAppHandler End
Context has no SMTP/UPN claims. IdentityContext: '{"nameid":"s-1-5-21-939007976-1822922530-3574825930-51614","nii":"urn:office:idp:activedirectory","upn":"Email address removed","userId":"0#.w|domain\\username1","appliesTo":"https:\/\/DNSSiteName\/"}'
Entering Monitored Scope (VdocumentStore::httpGetDocument). Parent=SPRequest.GetFileAndMetaInfo
validateUrlForStore: using extended URL length limits: fullUrl = 400, dirName = 400, leafName = 400, storeOp = 2
Entering Monitored Scope (SPSqlClient(proc_FetchDocForHttpGet)). Parent=VdocumentStore::httpGetDocument
Leaving Monitored Scope: (SPSqlClient(proc_FetchDocForHttpGet)) Execution Time=4.5861; CPU Milliseconds=1; SQL Query Count=0; Parent=VdocumentStore::httpGetDocument
validateUrlForStore: using extended URL length limits: fullUrl = 400, dirName = 400, leafName = 400, storeOp = 2
Entering Monitored Scope (VfileBlobManager::bind). Parent=VdocumentStore::httpGetDocument
Entering Monitored Scope (SPFileStreamManager_From_Native). Parent=VfileBlobManager::bind
Entering Monitored Scope (SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset). Parent=SPFileStreamManager_From_Native
|[SharePoint] -SiteId 8c05b54f-28e5-4505-bb13-f9b3bc68fb62 -DocId 77ccb203-b659-4d9b-91f6-087be9104c4b -Url /departments/IT/_catalogs/masterpage/domainname42013.master
Entering Monitored Scope (CobaltStream(SPHostBlobStore)). Parent=SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset
Leaving Monitored Scope: (SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset) Execution Time=0.2271; CPU Milliseconds=0; SQL Query Count=0; Parent=SPFileStreamManager_From_Native
Leaving Monitored Scope: (VfileBlobManager::bind) Execution Time=0.3169; CPU Milliseconds=0; SQL Query Count=0; Parent=VdocumentStore::httpGetDocument
____Data Size: 54618
____SiteIdDocIdLevel: (8C05B54F-28E5-4505-BB13-F9B3BC68FB62, 77CCB203-B659-4D9B-91F6-087BE9104C4B, 1)
|[Context] Pushing local context
|>[Cobalt] Cobalt operation
|>[CobaltFile] CobaltFilePartition.Configure
|[Context] Popping local context
|[Context] Pushing local context
|>[Cobalt] Cobalt operation
|[Context] Popping local context
Leaving Monitored Scope: (VdocumentStore::httpGetDocument) Execution Time=8.3005; CPU Milliseconds=3; SQL Query Count=1; Parent=SPRequest.GetFileAndMetaInfo
____Data Size: 54618
____SiteIdDocIdLevel: (8C05B54F-28E5-4505-BB13-F9B3BC68FB62, 77CCB203-B659-4D9B-91F6-087BE9104C4B, 1)
Leaving Monitored Scope: (CobaltStream(SPHostBlobStore)) Execution Time=3.1473; CPU Milliseconds=1; SQL Query Count=0; Parent=SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset
Leaving Monitored Scope: (SPFileStreamManager_From_Native) Execution Time=3.4054; CPU Milliseconds=0; SQL Query Count=0; Parent=VfileBlobManager::bind
Get Page Parser Setting by virtualPath=/departments/IT/_catalogs/masterpage/domainname42013.master and physicalPath=C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\Template\Features\Morphotrust.Branding.Masterpage_Activate.Masterpage\MasterPages\domainname42013.master
Experiment Manager: GetExpName user: mlcarter
Experiment Manager: GetExpName cookie: unknown
Experiment Manager: GetExpName tenant: DNSSiteName
Experiment Manager: GetExpName final key: 
Experiment Manager: GetExpName expName: production
Component Manager: public CreateInstance: Microsoft.SharePoint.Context.ContextInfo
Component Manager: Look in production
TryGetGridInformation from SPFarm.Local Start: My Scenario Start
TryGetGridInformation from SPFarm.Local Success: My Scenario Success
validateUrlForStore: using extended URL length limits: fullUrl = 400, dirName = 400, leafName = 400, storeOp = 2
The permission is being checked for a write operation
Asserting permissions for an already existing document
The permission is being checked for a write operation
Asserting permissions for an already existing document
checkAndFireItemEvent, ItemId: 0, EventType: 2, ListBaseType: 1
Entering Monitored Scope (SPFileStreamManager_From_Native). Parent=SPRequest.UpdateFileOrFolderProperties
Entering Monitored Scope (VdocumentStore::updateDocument). Parent=SPFileStreamManager_From_Native
validateUrlForStore: using extended URL length limits: fullUrl = 400, dirName = 400, leafName = 400, storeOp = 3
GetOutputActivitiesProperties failed calling GetActivityPropertiesParamsEx. hr=0x00000000 no fields: 0
Leaving Monitored Scope: (VdocumentStore::updateDocument) Execution Time=16.2743; CPU Milliseconds=4; SQL Query Count=0; Parent=SPFileStreamManager_From_Native
____SiteIdDocIdLevel: (8C05B54F-28E5-4505-BB13-F9B3BC68FB62, 59D5766A-CEF0-4633-ADE0-3DC5AB011DC3, 1)
Leaving Monitored Scope: (SPFileStreamManager_From_Native) Execution Time=16.7221; CPU Milliseconds=5; SQL Query Count=1; Parent=SPRequest.UpdateFileOrFolderProperties
ListUpdate Start: My Scenario Start
Component Manager: Resolving assembly Microsoft.SharePoint.XmlSerializers, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Validate : Flight disabled. Will not retrieve Thumbprint 501113CF34F8B954056F32A5ED2F75FEFA8ACA0F from cache
Validate : Flight disabled. Will not retrieve Thumbprint 501113CF34F8B954056F32A5ED2F75FEFA8ACA0F from cache
Unexpected RequestStatus received from the directory service when creating new alias: 2019-it-test. Status: InternalError
ListUpdate Failure: Microsoft.SharePoint.SPException: Error in the application.     at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias)     at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration)
SPRequestModule.ErrorAppHandler Begin
Application error when access /_layouts/15/EmailSettings.aspx, Error=Error in the application.   at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias)     at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration)     at Microsoft.SharePoint.ApplicationPages.EmailSettingsPage.SubmitButton_Click(Object sender, EventArgs args)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Microsoft.SharePoint.SPException: Error in the application.    at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias)     at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration)     at Microsoft.SharePoint.ApplicationPages.EmailSettingsPage.SubmitButton_Click(Object sender, EventArgs args)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Error in the application.     at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias)     at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration)     at Microsoft.SharePoint.ApplicationPages.EmailSettingsPage.SubmitButton_Click(Object sender, EventArgs args)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
[Forced due to logging gap, cached @ 03/15/2022 18:53:18.46, Original Level: VerboseEx] SPMonitoredScope {0} dispose is completing
[Forced due to logging gap, Original Level: Verbose] desiredVersion: {0}
MakeBrowserCacheSafeLayoutsUrl: start computing localizable url for key=[15/0/1033/styles/error.css], name=[styles/error.css]
MakeBrowserCacheSafeLayoutsUrl: finished computing url, key=[15/0/1033/styles/error.css], name=[styles/error.css], url=[/_layouts/15/1033/styles/error.css?rev=vTz2WsuD%2F0Fcv4k2YzK4Lw%3D%3DTAG0], hash=[vTz2WsuD%2F0Fcv4k2YzK4Lw%3D%3D]
 
calling GetCurrentGenericSetupPath for a versioned path: TEMPLATE\LAYOUTS
MakeBrowserCacheSafeLayoutsUrl: start computing relative url for key=[15/0/0/foldhyperlink.js], name=[foldhyperlink.js]
MakeBrowserCacheSafeLayoutsUrl: finished computing url, key=[15/0/0/foldhyperlink.js], name=[foldhyperlink.js], url=[/_layouts/15/foldhyperlink.js?rev=SCfvQellZm%2BcEee7Nt0Uhg%3D%3DTAG0], hash=[SCfvQellZm%2BcEee7Nt0Uhg%3D%3D]
SPRequestModule.PreSendRequestHeaders End
SPRequestModule.ErrorAppHandler End
SPRequestModule.PostLogRequestHandler Begin
SPRequestModule.PostLogRequestHandler End
SPRequestModule.EndRequestHandler Begin
Micro Trace Tags: 0 avwhy,0 nasq,0 avwhz,0 bjkuz,1 a9fy6,0 bjvyg,0 bnksk,0 avwh6,0 agb9s,0 ajd6k,0 ajd6l,0 avwh7,0 avwh8,0 avwh0,0 avwh1,0 aj1kn,0 avwh2,0 avwh3,0 avwhu,0 a6oo3,0 a6oo3,0 anvuv,8 avwhv,0 anvuv,1 arc5u,0 ax0rv,4 ax0rv,0 ab3dt,0 ajoij,0 ax0ru,0 abnwk,0 abnwl,0 ax0ru,0 ab3dt,1 b3647,0 abnwk,0 abnwk,0 b1foi,0 b3647,0 abnwk,0 b1foi,0 arc5u,0 abnwl,0 ajoij,0 84lu6,5 bhxdp,0 bhxdp,0 bhxdp,0 bhxdp,0 bhxdp,0 bhxdp,0 bhxdp,0 bj421,0 bj422,28 ajoij,0 aiv4y,16 aiv4y,0 ajoij,10 aqnrv,20 bhxdp,355 ahgrv,0 art14,7 avwhw,0 8nca,5 tkau,0 ajlz0,64 bnfg6,1 bnfhc,12 aat87,7 agxkz,0 bnfg7,0 bnfhc,4 avwh5,0 avwhx,0 avwia,0 avwib,0 avwic
Sending HTTP response 200 for HTTP POST request
SPRequestModule::CreatePageViewedAuditEntry: Has PageViewed been suppressed for this request: True
Leaving Monitored Scope: (Request (POST:https://DNSSiteName/departments/IT/_layouts/15/EmailSettings.aspx?List={83C1AC31-1DCE-41F6-9EA8-33E8...})) Execution Time=572.4604; CPU Milliseconds=248; SQL Query Count=7; Parent=None
SPRequestModule.EndRequestHandler End
1 Reply
best response confirmed by Matthew Carter (Iron Contributor)
Solution
Ran into this and opened a ticket with Microsoft, just got it resolved with this.
SharePoint 2019 - new farm March 2022 CU.
We couldn't get emails to work. We could Telnet email, and could PowerShell emails. However Alert-Me - didn't work; SharePoint 2010 / 2013 emails didn't work. We then ran this and checked, it said that Outbound Email was using SSL - yes - HOWEVER it should NOT be enabled. So we then set it to False and checked and emails all worked in alerts and in SP2010 and SP2013 workflows!

PS C:\Users\Service.spfarm> $webapp=get-spwebapplication "https://DNSName-notServerName"
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL
True
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL =$false
PS C:\Users\Service.spsfarm> $webapp.update()
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL
False
PS C:\Users\Service.spfarm>


Run these to use the DNS name of your farm https://SharePointFarmNameHere (NOT the FQDN or NETBIOS name of your server - SPFarm2019-0) (NO!)

$webapp=get-spwebapplication "https://DNSName-notServerName"
$webapp.OutboundMailEnableSSL

That will tell you TRUE or FALSE.

To change it to false (to change it to true, change $false to $true)

$webapp.OutboundMailEnableSsl =$false

Then update it:
$webapp.update()

Then check the value, hopefully (IF YOU WANT IT TO BE FALSE) it should be T or F.
$webapp.OutboundMailEnableSSL
1 best response

Accepted Solutions
best response confirmed by Matthew Carter (Iron Contributor)
Solution
Ran into this and opened a ticket with Microsoft, just got it resolved with this.
SharePoint 2019 - new farm March 2022 CU.
We couldn't get emails to work. We could Telnet email, and could PowerShell emails. However Alert-Me - didn't work; SharePoint 2010 / 2013 emails didn't work. We then ran this and checked, it said that Outbound Email was using SSL - yes - HOWEVER it should NOT be enabled. So we then set it to False and checked and emails all worked in alerts and in SP2010 and SP2013 workflows!

PS C:\Users\Service.spfarm> $webapp=get-spwebapplication "https://DNSName-notServerName"
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL
True
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL =$false
PS C:\Users\Service.spsfarm> $webapp.update()
PS C:\Users\Service.spfarm> $webapp.OutboundMailEnableSSL
False
PS C:\Users\Service.spfarm>


Run these to use the DNS name of your farm https://SharePointFarmNameHere (NOT the FQDN or NETBIOS name of your server - SPFarm2019-0) (NO!)

$webapp=get-spwebapplication "https://DNSName-notServerName"
$webapp.OutboundMailEnableSSL

That will tell you TRUE or FALSE.

To change it to false (to change it to true, change $false to $true)

$webapp.OutboundMailEnableSsl =$false

Then update it:
$webapp.update()

Then check the value, hopefully (IF YOU WANT IT TO BE FALSE) it should be T or F.
$webapp.OutboundMailEnableSSL

View solution in original post