Within Ignition OAuth2 Clients page, both the authorization and token test are successful. The returned permissions seem to match with what is expected.
However, when I attempt to send a test email I get Error: 501 5.5.4 Invalid Domain Name
Thinking it was the Exchange domain that was incorrect, I tried multiple domains that I found online and I was either unable to connect to the Exchange server or received the same error code. (ended back on smtp.office365.com)
Looking at the logs, the error seems to be in response to the EHLO message. Some additional searching revealed that this is generally due to a poorly formatted SMTP hostname send by the client (i.e. the name of the machine requesting to send an email, the Ignition gateway here). Or the hostname not being publicly resolvable by the Exchange server.
If that is the case, my question is what hostname does Ignition provide in the EHLO message?
Thank you for the reply Eugene but that doesn't seem to work for me. I did confirm that the SMTP Auth was enabled for the user but I am still getting that same 501 5.5.4 Invalid Domain error.