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

SMTP ERROR when trying to test send email message

(0) ShareShare
ReportReport
Posted on by 20

Hi,

Im not too tech savy so would appreciate if the anwear is in a "beginner level". Im trying to set up the SMTP Mail Setup settings for a customer in NAV 2017. When I try to send as myself, to myself the test goes through. But when I try to send to another mail I get the following error. I have tried to enter another User ID with the same result. Any idea on how I can proceed? Many thanks.

8233.smtp-error.JPG

Microsoft Dynamics NAV 2017



The mail system returned the following error: "Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00AC80, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:901F0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:951F0000, 1.44866:44010000, 16.55847:F30F0000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F3F8A0700101043050000, 20.50032:140F3F8A7817000000000000, 0.35180:48050000, 255.23226:0A00B180, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A00B280, 0.35250:0A000000, 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:0000000000030000000000000000000000000000, 20.52176:140F3F8A070070200A00B780, 20.50032:140F3F8A781710106B050000, 0.35180:0A00B880, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:75050000, 4.21921:DC040000, 255.27962...".

  • Suggested answer
    gert@lynge.org Profile Picture
    on at
    RE: SMTP ERROR when trying to test send email message

    No, unfortunately I don't have admin access to an Office365 right now, but you can easily Google it. 

    I.e.: docs.microsoft.com/.../give-mailbox-permissions-to-another-user - see "Send email from another user's mailbox" or "Send email on behalf of another user". I guess it is one of those...

  • Affe123 Profile Picture
    20 on at
    RE: SMTP ERROR when trying to test send email message

    Thank you for the answear much appriciated. As you say it most probably something related to customers Office365. This a little bit out of scope of Dynamics NAV. Do you have any directions on where to associate the FROM with Office365 login or Send-On-Behalf rights?

  • Suggested answer
    gert@lynge.org Profile Picture
    on at
    RE: SMTP ERROR when trying to test send email message

    This is probably more of a SMTP or Office365 question.

    It seems you are trying to send FROM an address that is not associated with the used Office365 login. That is not allowed in Office365.

    You need to use a SMTP FROM address that is either the address of the used Office365 login or the Office365 login should have Send-On-Behalf rights assigned for the used SMTP FROM address.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans