web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Test Mail SMPTP Setup

(0) ShareShare
ReportReport
Posted on by 10

Whenever i try to send a test mail, i get the following error. 

The mail system returned the following error: "A call to MailKit.Net.Smtp.SmtpClient.Send failed with this message: 5.2.252 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:03004E67, 1.36674:01000000, 1.61250:00000000, 1.45378:02000000, 1.44866:00000000, 1.36674:7A000000, 1.61250:00000000, 1.45378:05000000, 1.44866:00140000, 1.36674:0A000000, 1.61250:00000000, 1.45378:16000000, 1.44866:5F1E0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:781E0000, 1.44866:32020000, 16.55847:5E100000, 17.43559:0000000030020000000000000200000000000000, 20.52176:140F15911400F01F0300ED65, 20.50032:140F15918417F01F07000000, 0.35180:1F000130, 255.23226:0E3F0000, 255.27962:7A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:21000000, 0.35250:0A001336, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:3E000000, 1.36674:32000000, 1.61250:00000000, 1.45378:43000000, 1.44866:01000000, 16.55847:AA000000, 17.43559:0000000088030000000000000000000000000000, 20.52176:140F1591140010105A000000, 20.50032:140F159184170000B7400000, 0.35180:5F000000, 255.23226:0A001380, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:C3400000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:C7400000, 0.38698:05000780, 1.41134:46000000, 0.37692:86000000, 0.37948:86000000, 5.33852:00000000534D545000000000, 7.36354:010000000000010986000000, 4.56248:DC040000, 7.40748:010000000000010B32000000, 7.57132:0000000000000000302E3433, 1.63016:32000000, 4.39640:DC040000, 8.45434:5C74A82786CF1541B7BF22CCDCE02C526433302D, 1.46798:04000000, 5.10786:0000000031352E32302E343337332E3032303A415338505230374D42373736383A64323566336563392D303632612D346433302D383538642D6437363461343336336566623A3333393031360080101012000000, 7.51330:6FE99A5A5B53D90813000000, 0.39570:13000000, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:7A000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:AF000000, 255.31418:03003866, 0.22753:0A006136, 255.21817:DC040000, 0.64418:03000336, 4.39842:DC040000, 0.41586:B9000000, 4.60547:DC040000, 0.21966:03000336, 4.30158:DC040000 [Hostname=AS8PR07MB7768.eurprd07.prod.outlook.com]".

General
SMTP Server
smtp.office365.com
SMTP Server Port
587
Authentication
Basic
User ID
abc@def-ghi.com
I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    Hello Ashar - It is having trouble with the Send As email address in SMTP setup.  There are a few options to resolve this error:

    Option A: Disable "Send As"

    • Open SMTP Mail Setup Page.

    • Turning off the toggle "Allow Sender Substitution"  

    • Clear the "Send as" field

    Option B:  Provide necessary permissions.

    • Give permission to the mail account used to send emails as other users in your organization.

    • For office 365

    • In the admin center, go to the Users > Active users page.

    • Select the name of the user (from whom you plan to give a sending permission) to open their properties pane.

    • On the Mail tab, select Manage mailbox permissions.

    • Next to Send as, select Edit.

    • Select Add permissions, then choose the name of the person who you want this user to be able to send as.

    • Select Save.

  • Ashar Farooqi Profile Picture
    10 on at

    Hello Andy, thank you so much for your response.

    For Option A, Send As is already disabled, and as for Option B, it does not let me access Admin Centre because i dont have the permissions on my account(s).

    Im currently working On Premise but when i use the same account on BC online, it sends the Test email using the same mail.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans