Installation / Setup ▶ Integrating with Office 365 SMTP Settings : add message

::
(ctrl+enter)    


Previous messages in the topic:
maxowens
6/10/2021
That is very helpful! thank you
sinh@decisions.com
3/29/2021
Hello,

Your settings might not be wrong actually, but you can refer to this Microsoft documentation, Server settings you'll need from your email, provider to check. While looking for that exception, I stumbled upon this forum post, 5.2.0 STOREDRV Error, that states that you cannot have a different "From" address email from the address used in the SMTP settings. On this Microsoft documentation, How to set up a multifunction device or application to send email using Microsoft 365 or Office 365, it also states: "You can only send from one email address unless your device can store login credentials for multiple Microsoft 365 or Office 365 mailboxes. Microsoft 365 or Office 365 imposes a limit of 30 messages sent per minute, and a limit of 10,000 recipients per day." So this appears to be more of a limitation with the email server you are choosing to use rather than with Decisions being configured improperly.

As a possible work around, you can try turning on Plus Addressing on your email server and follow the instructions here on this Microsoft documentation, Plus Addressing in Exchange Online. It's turned off by default, but with it turned on, you can use the one email address and append a plus mark and a tag for different things so you can differentiate where it is coming from, such as sampleemail+noreply@email.com, sampleemail+admin@email.com, sampleemail+hr@email.com, etc.

If you prefer to not use that and want to use an entirely different email address altogether, you can make a custom subflow with different "Send Email" steps inside that have different SMTP settings per step for each account. You can pass in the details for each email along with an identifier so there's a logic to know what "Send Email" step should be chosen. Like if you pass in "reports" then the reports version of the "Send Email" step should be chosen where things come from reports@email.com, and if you pass in "admin" then the admin version of the "Send Email" step is chosen where each email is sent from admin@email.com.

Hope you find this helpful!
thecatsmeow
3/29/2021
I was trying to use Office 365 for my SMTP Email Server, and I'm not sure if I set up my settings incorrectly in the settings.xml or something, but all of my "Send Email" steps started failing. I was using different emails for the different reports, and none of them will send out with these new settings.

I get an error like this:
STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message.
edited by thecatsmeow on 3/29/2021
edited by kshitij@decisions.com on 3/30/2021




Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software