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 :
Business Central forum

SMTP Configuration

(1) ShareShare
ReportReport
Posted on by 810

I setup and configured email on office 365 an would like to have dynamics 365 Financials use it. I clicked the "Apply Office 365 Server Settings" and entered my office 365 User ID and password.  When I test the email setup I get the error:

"The mail system returned the following error: "Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender"."

Is there some documentation on how to configure this?

I have the same question (0)
  • Suggested answer
    AJAnsari Profile Picture
    5,754 on at

    Hi Ezra,

    Do your organization migration from an on-premise Exchange environment to Office 365? Ours did, and even though my mailbox has been migrated to O365, I find that I'm unable to use the O365 mail settings from SMTP Mail Setup to successfully send e-mails. I get a slightly different error than yours though (5.7.57, if I recall correctly.

    I have some other O365 demo accounts and when I use one of those logins to test SMTP Mail Setup, it works like a charm.

    I hope that helps.

  • Ezra Nielsen Profile Picture
    810 on at

    Hi AJ,

    Do i need to setup a office365 account for D365 or do I need to configure some Exchange Server relay policies?

    Thanks for your help.

    Ezra

  • Suggested answer
    AJAnsari Profile Picture
    5,754 on at

    Hi Ezra,

    I would look to the Exchange Server relay policies. Also, while you're at it, verify if your exchange server has a non-standard SMTP port, or if the SMTP server is different than the standard O365 SMTP server name.

    I've never had to create an O365 account just for D365.

  • Ezra Nielsen Profile Picture
    810 on at

    I am still having trouble with this.  It appears to be authenticating but I but will not send as DM3PR13MB0651.namprd13.prod.outlook.com

    How do I configure Send As Permissions when the sender is not part of my domain in exchange?

  • Chris Bulson Profile Picture
    on at

    Hello Ezra,

    Are you able to sign into your Mailbox in Office 365 and send email as the user you are using?  You could also check with Office 365 support to see if this is an error they are familiar with.  I don't know if SMTP in Office 365 requires a certain subscription level, etc...

    Thanks,

    Chris

  • Ezra Nielsen Profile Picture
    810 on at

    Yes I can sign in and send and receive email fine. Is there any documentation on setting this up?

  • Chris Bulson Profile Picture
    on at

    Yes, there is here - docs.microsoft.com/.../madeira-how-setup-email

    I don't think this is going to help you troubleshoot why Office 365 isn't allowing you to send SMTP email.  There is no setup involved, it should just work.

    Thanks,

    Chris

  • Verified answer
    Ezra Nielsen Profile Picture
    810 on at

    I created a New Office user and setup email for it and it seems to be working with the new user.  

  • Saif Ehsan Profile Picture
    360 on at

    Has anyone found the cause and resolution to this error? a number of customers are facing this issue; not all can create new user accounts to see if those accounts work with the email. Any ideas?

  • Saif Ehsan Profile Picture
    360 on at

    Found that this works too; but did you find the cause/resolution as to why the other account doesn't work?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans