question

EnterpriseArchitect avatar image
0 Votes"
EnterpriseArchitect asked emilyhua-msft edited

Using Microsoft Exchange Online email relay without deploying mailbox?

As part of the email sending requirement of my PowerApp,

I need some clarification as to how can I set up the accounts for sending email relay using: smtp.office365.com on port 587 with TLS v1.2 and secure username & very long password.

When I read the article below: https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#requirements-for-microsoft-365-or-office-365-smtp-relay

It mentions that I do not need to assign any license. How am I supposed to do that?

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-mailflow
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RobertSparnaaij avatar image
0 Votes"
RobertSparnaaij answered RobertSparnaaij edited

It mentions that I do not need to assign any license. How am I supposed to do that?

You just don't do it and you're done :-)

You only need to create a user account that you will use for the device.

Note however that the users of that device will need at least an Exchange Online Protection license to send emails using that device.

Sending emails from PowerApps is not the same as from a device though.

How to do it really depends on what you are trying to do here and how (or why). Below are some resources to get you started but asking in a Power Apps developer forum would be more appropriate then the Exchange forum in this case.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered KyleXu-MSFT commented

@EnterpriseArchitect

If you want to send an authenticate email from 587 port, you need to assign a license to the mailbox that you used. When you use 587 port to relay emails, you need to provide account and password for a real mailbox: Authenticate your device or application directly with a Microsoft 365 or Office 365 mailbox, and send mail using SMTP AUTH client submission
120589-qa-kyle-09-55-43.png

If you want to send email from 25 port, you will not need to use a real mailbox.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EnterpriseArchitect
I am writing here to confirm with you any update about this thread now?
If the above suggestion helps, please be free to mark it as an answer for helping more people.

0 Votes 0 ·