SharePoint 2019 - unable to receive incoming email

%3CLINGO-SUB%20id%3D%22lingo-sub-3272649%22%20slang%3D%22en-US%22%3ESharePoint%202019%20-%20unable%20to%20receive%20incoming%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3272649%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20setup%20in%20SharePoint%202019%20March%202022%20CU%20Enterprise%20Edition%2C%20with%20two%20minroles%2C%20WFE%20with%20Distr.Cache%20and%20App%20with%20Search.%3C%2FP%3E%3CP%3EApplication%20Pool%20for%20Central%20Admin%20is%20the%20farm%20account.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ein%20Central%20Admin%2C%20I%20have%20this%20setup%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22incoming-settings.png%22%20style%3D%22width%3A%20371px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360039i9B1088618BC99D31%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22incoming-settings.png%22%20alt%3D%22incoming-settings.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20PowerShell%20script%2C%20as%20we%20are%20Exchange%20hybrid%20and%20I%20can't%20use%20my%20M365%20email%20Outlook%20client%20to%20email%20to%20%22SharePoint.locall%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20an%20OU%20that%20has%20a%20Document%20Library%20that%20has%20incoming%20e-mail%20settings%20for%20the%20image%20below%20email.%26nbsp%3B%20It%20also%20accepts%20e-mail%20messages%20from%20any%20sender.%26nbsp%3B%20I%20even%20set%20it%20to%20EVERYONE%20to%20modify%20to%20test.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23%20-----------------------------------------------------------%3CBR%20%2F%3E%23%20Function%20Send%20Email%20with%20Attachment%3CBR%20%2F%3E%23%20-----------------------------------------------------------%3CBR%20%2F%3EFunction%20Send_Email%20%7B%3CBR%20%2F%3E%3CBR%20%2F%3E%23Creating%20Mail%20Object%3CBR%20%2F%3E%24Msg%20%3D%20new-object%20Net.Mail.MailMessage%3CBR%20%2F%3E%24Msg.From%20%3D%20%22Email%20address%20removed%22%3CBR%20%2F%3E%24Msg.Subject%20%3D%20%22Test%20Email%20to%20SharePoint%20Library%20with%20Attachment%22%3CBR%20%2F%3E%24Msg.Body%20%3D%20%22Test%20Email%20with%20Attachment.%3CBR%20%2F%3E%3CBR%20%2F%3ECreated%20on%20%24(%24Today).%3CBR%20%2F%3E%3CBR%20%2F%3E%22%3CBR%20%2F%3E%24Att%20%3D%20new-object%20Net.Mail.Attachment(%24CSVFile)%3CBR%20%2F%3E%24Msg.Attachments.Add(%24Att)%3C%2FP%3E%3CP%3E%23%20Send%20To%20Email%3CBR%20%2F%3E%24Msg.To.Add(%22%24(%24EmailToAddress)%22)%3CBR%20%2F%3E%3CBR%20%2F%3E%23%20BCC%20Email%3CBR%20%2F%3E%24Msg.bcc.Add(%22%24(%24BccToAddress)%22)%3CBR%20%2F%3E%3CBR%20%2F%3E%24SMTP.Send(%24Msg)%3CBR%20%2F%3E%24Att.Dispose()%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%23%20Location%20of%20Attachment%3CBR%20%2F%3E%24CSVFile%20%3D%20%22E%3A%5Cscripts%5CMLC-test.pdf%22%3C%2FP%3E%3CP%3E%23%20IP%20Address%20of%20SMTP%20Server%3CBR%20%2F%3E%24SMTP%20%3D%20new-object%20Net.Mail.SMTPclient(%2210.93.3.99%22)%3C%2FP%3E%3CP%3E%23%20Send%20Email%20To%20Address%3CBR%20%2F%3E%24EmailToAddress%20%3D%20(%222019-test%40sharepoint.local%22)%3C%2FP%3E%3CP%3E%23%20BCC%20Email%20Address%3CBR%20%2F%3E%24BccToAddress%20%3D%20(%22Email%20address%20removed%22)%3C%2FP%3E%3CP%3E%24Today%20%3D%20(Get-date).AddDays(0)%3C%2FP%3E%3CP%3ESend_Email%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EC%3A%5Cinetpub%5Cmailroot%5CDrop%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E03%2F30%2F2022%2014%3A41%3A53.75%20OWSTIMER.EXE%20(0x2BB4)%200x099C%20SharePoint%20Foundation%20E-Mail%206871%20Information%20The%20Incoming%20E-Mail%20service%20has%20completed%20a%20batch.%20The%20elapsed%20time%20was%2000%3A00%3A00.6718865.%20The%20service%20processed%201%20message(s)%20in%20total.%20The%20service%20successfully%20processed%201%20message(s)%3A%20Message%20ID%3A%20%26lt%3B159857cc117e4503a0d9f594973294e2%40NAME1-CAS12P.DOMAIN.local%26gt%3B%2062e82ea0-7603-a029-7e2e-26979729639c%3CBR%20%2F%3E03%2F30%2F2022%2014%3A42%3A53.33%20OWSTIMER.EXE%20(0x2BB4)%200x4854%20SharePoint%20Foundation%20Timer%20apm5x%20Medium%20Successfully%20started%20timer%20job%20%7BE9DDEBDE-076A-4AAA-8993-0F02A5F1FB8D%7D%20%5BMicrosoft%20SharePoint%20Foundation%20Incoming%20E-Mail%5D%20in%20store%20for%20service%20%7BBAC88031-D121-4BBE-B492-4B81B7B966B6%7D%2C%20vserver%20%7B00000000-0000-0000-0000-000000000000%7D%2C%20current%20target%200%2086347b07-a14d-43ae-a5fe-56749515b005%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ex-sender%3A%20Email%20address%20removed%3CBR%20%2F%3Ex-receiver%3A%202019-test%40sharepoint.local%3CBR%20%2F%3EReceived%3A%20from%20NAME1-MAIL01P.DOMAIN.local%20(%5B10.93.3.170%5D)%20by%20DNS1-SPAPP01P.DOMAIN.local%20over%20TLS%20secured%20channel%20with%20Microsoft%20SMTPSVC(10.0.17763.1697)%3B%3CBR%20%2F%3EWed%2C%2030%20Mar%202022%2014%3A41%3A21%20-0500%3CBR%20%2F%3EX-CrossPremisesHeadersFilteredBySendConnector%3A%20NAME1-MAIL01P.DOMAIN.local%3CBR%20%2F%3EReceived%3A%20from%20NAME1-CAS04P.DOMAIN.local%20(10.93.3.99)%20by%20NAME1-MAIL01P.DOMAIN.local%3CBR%20%2F%3E(10.93.3.170)%20with%20Microsoft%20SMTP%20Server%20(TLS)%20id%2015.0.1497.28%3B%20Wed%2C%2030%20Mar%3CBR%20%2F%3E2022%2014%3A41%3A20%20-0500%3CBR%20%2F%3EReceived%3A%20from%20DNS1-SPAPP01P%20(10.25.3.136)%20by%20mail.DOMAIN.com%20(10.93.3.99)%20with%3CBR%20%2F%3EMicrosoft%20SMTP%20Server%20id%2015.0.1497.28%3B%20Wed%2C%2030%20Mar%202022%2014%3A41%3A19%20-0500%3CBR%20%2F%3EMIME-Version%3A%201.0%3CBR%20%2F%3EFrom%3A%20%3CEMAIL%20address%3D%22%22%20removed%3D%22%22%3E%3CBR%20%2F%3ETo%3A%20%26lt%3B2019-test%40sharepoint.local%26gt%3B%3CBR%20%2F%3EDate%3A%20Wed%2C%2030%20Mar%202022%2014%3A41%3A19%20-0500%3CBR%20%2F%3ESubject%3A%20Test%20Email%20to%20SharePoint%20Library%20with%20Attachment%3CBR%20%2F%3EContent-Type%3A%20multipart%2Fmixed%3B%3CBR%20%2F%3Eboundary%3D%22--boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e%22%3CBR%20%2F%3EMessage-ID%3A%20%26lt%3B159857cc117e4503a0d9f594973294e2%40NAME1-CAS04P.DOMAIN.local%26gt%3B%3CBR%20%2F%3EReturn-Path%3A%20Email%20address%20removed%3CBR%20%2F%3EX-OrganizationHeadersPreserved%3A%20NAME1-MAIL01P.DOMAIN.local%3CBR%20%2F%3EX-OriginalArrivalTime%3A%2030%20Mar%202022%2019%3A41%3A21.0501%20(UTC)%20FILETIME%3D%5B2200F8D0%3A01D8446E%5D%3C%2FEMAIL%3E%3C%2FP%3E%3CP%3E----boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e%3CBR%20%2F%3EContent-Type%3A%20text%2Fplain%3B%20charset%3D%22us-ascii%22%3CBR%20%2F%3EContent-Transfer-Encoding%3A%20quoted-printable%3C%2FP%3E%3CP%3ETest%20Email%20with%20Attachment.%3D0D%3D0A%20%3D0D%3D0A%20Created%20on%2003%2F30%2F20%3D%3CBR%20%2F%3E22%2014%3A41%3A19.%20%3D0D%3D0A%20%3D0D%3D0A%20%3D20%3CBR%20%2F%3E----boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e%3CBR%20%2F%3EContent-Type%3A%20application%2Foctet-stream%3B%20name%3D%22MLC-test.pdf%22%3CBR%20%2F%3EContent-Transfer-Encoding%3A%20base64%3CBR%20%2F%3EContent-Disposition%3A%20attachment%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3272649%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEmail%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3282628%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%202019%20-%20unable%20to%20receive%20incoming%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3282628%22%20slang%3D%22en-US%22%3EThank%20you%20for%20being%20the%20only%20one%20to%20reply.%3CBR%20%2F%3EYes%2C%20we%20had%20a%202013%20environment%20that%20we%20used%20and%20it%20was%20local.%20This%202019%20environment%20is%20local%20as%20well.%20Thank%20for%20that.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20did%20open%20a%20ticket%20with%20Microsoft%20and%20I%20found%20that%20for%20the%20web%20app%20in%20central%20administration%20that%20the%20user%20policy%20should%20have%20search%20crawling%20account%20be%20Full%20Read%20AND%20FULL%20CONTROL!%20Once%20that%20was%20set%2C%20it%20worked.%20That's%20NOT%20what%20I%20read%20and%20what%20is%20listed%20in%20this%20graphic.%20Yet%2C%20my%20search%20service%20account%20has%20read%20and%20write.%20not%20sure%20why%2C%20the%20microsoft%20tech%20wasn't%20either.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.sharepointpals.com%2Fwp-content%2Fuploads%2Fbe%2Fclip_image006_thumb_39.jpg%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sharepointpals.com%2Fwp-content%2Fuploads%2Fbe%2Fclip_image006_thumb_39.jpg%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3280640%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%202019%20-%20unable%20to%20receive%20incoming%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3280640%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F109565%22%20target%3D%22_blank%22%3E%40Matthew%20Carter%3C%2FA%3E%2C%3CBR%20%2F%3E%22.local%22%20is%20a%20Non-Routable%20domain%2C%20have%20you%20tried%20instead%20using%20something%20like%20%22.contoso.com%22%20%3F%3C%2FLINGO-BODY%3E
Contributor

I have setup in SharePoint 2019 March 2022 CU Enterprise Edition, with two minroles, WFE with Distr.Cache and App with Search.

Application Pool for Central Admin is the farm account.

 

in Central Admin, I have this setup

 

incoming-settings.png

 

I have a PowerShell script, as we are Exchange hybrid and I can't use my M365 email Outlook client to email to "SharePoint.locall"

 

I have an OU that has a Document Library that has incoming e-mail settings for the image below email.  It also accepts e-mail messages from any sender.  I even set it to EVERYONE to modify to test.

 

 

# -----------------------------------------------------------
# Function Send Email with Attachment
# -----------------------------------------------------------
Function Send_Email {

#Creating Mail Object
$Msg = new-object Net.Mail.MailMessage
$Msg.From = "Email address removed"
$Msg.Subject = "Test Email to SharePoint Library with Attachment"
$Msg.Body = "Test Email with Attachment.

Created on $($Today).

"
$Att = new-object Net.Mail.Attachment($CSVFile)
$Msg.Attachments.Add($Att)

# Send To Email
$Msg.To.Add("$($EmailToAddress)")

# BCC Email
$Msg.bcc.Add("$($BccToAddress)")

$SMTP.Send($Msg)
$Att.Dispose()
}

# Location of Attachment
$CSVFile = "E:\scripts\MLC-test.pdf"

# IP Address of SMTP Server
$SMTP = new-object Net.Mail.SMTPclient("10.93.3.99")

# Send Email To Address
$EmailToAddress = ("2019-test@sharepoint.local")

# BCC Email Address
$BccToAddress = ("Email address removed")

$Today = (Get-date).AddDays(0)

Send_Email

 

 

 

C:\inetpub\mailroot\Drop

 

03/30/2022 14:41:53.75 OWSTIMER.EXE (0x2BB4) 0x099C SharePoint Foundation E-Mail 6871 Information The Incoming E-Mail service has completed a batch. The elapsed time was 00:00:00.6718865. The service processed 1 message(s) in total. The service successfully processed 1 message(s): Message ID: <159857cc117e4503a0d9f594973294e2@NAME1-CAS12P.DOMAIN.local> 62e82ea0-7603-a029-7e2e-26979729639c
03/30/2022 14:42:53.33 OWSTIMER.EXE (0x2BB4) 0x4854 SharePoint Foundation Timer apm5x Medium Successfully started timer job {E9DDEBDE-076A-4AAA-8993-0F02A5F1FB8D} [Microsoft SharePoint Foundation Incoming E-Mail] in store for service {BAC88031-D121-4BBE-B492-4B81B7B966B6}, vserver {00000000-0000-0000-0000-000000000000}, current target 0 86347b07-a14d-43ae-a5fe-56749515b005

 

 

 

 

x-sender: Email address removed
x-receiver: 2019-test@sharepoint.local
Received: from NAME1-MAIL01P.DOMAIN.local ([10.93.3.170]) by DNS1-SPAPP01P.DOMAIN.local over TLS secured channel with Microsoft SMTPSVC(10.0.17763.1697);
Wed, 30 Mar 2022 14:41:21 -0500
X-CrossPremisesHeadersFilteredBySendConnector: NAME1-MAIL01P.DOMAIN.local
Received: from NAME1-CAS04P.DOMAIN.local (10.93.3.99) by NAME1-MAIL01P.DOMAIN.local
(10.93.3.170) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Wed, 30 Mar
2022 14:41:20 -0500
Received: from DNS1-SPAPP01P (10.25.3.136) by mail.DOMAIN.com (10.93.3.99) with
Microsoft SMTP Server id 15.0.1497.28; Wed, 30 Mar 2022 14:41:19 -0500
MIME-Version: 1.0
From: <Email address removed>
To: <2019-test@sharepoint.local>
Date: Wed, 30 Mar 2022 14:41:19 -0500
Subject: Test Email to SharePoint Library with Attachment
Content-Type: multipart/mixed;
boundary="--boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e"
Message-ID: <159857cc117e4503a0d9f594973294e2@NAME1-CAS04P.DOMAIN.local>
Return-Path: Email address removed
X-OrganizationHeadersPreserved: NAME1-MAIL01P.DOMAIN.local
X-OriginalArrivalTime: 30 Mar 2022 19:41:21.0501 (UTC) FILETIME=[2200F8D0:01D8446E]

----boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Test Email with Attachment.=0D=0A =0D=0A Created on 03/30/20=
22 14:41:19. =0D=0A =0D=0A =20
----boundary_0_d1f98efc-20bf-4cda-8787-c15edda8fc9e
Content-Type: application/octet-stream; name="MLC-test.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment

2 Replies
Hi @Matthew Carter,
".local" is a Non-Routable domain, have you tried instead using something like ".contoso.com" ?
Thank you for being the only one to reply.
Yes, we had a 2013 environment that we used and it was local. This 2019 environment is local as well. Thank for that.

I did open a ticket with Microsoft and I found that for the web app in central administration that the user policy should have search crawling account be Full Read AND FULL CONTROL! Once that was set, it worked. That's NOT what I read and what is listed in this graphic. Yet, my search service account has read and write. not sure why, the microsoft tech wasn't either.
https://www.sharepointpals.com/wp-content/uploads/be/clip_image006_thumb_39.jpg