Hani
Hani

Reputation: 15

How to send an email in Logic App with from address set to no-reply?

I'm looking for a way to send email notification to a group from LogicApps. I could see that the monitoring in Azure sends email from:[email protected].

Can anyone help me in achieving this from logic app?

Upvotes: 0

Views: 6951

Answers (1)

Mandar Dharmadhikari
Mandar Dharmadhikari

Reputation: 1119

There are few connectors in Logic apps which allow you to send emails. They are 1) O365 connector 2) Gmail connector 3) Send Grid

Among these three the first two work with a particular mail id which you use to create a connection to the office 365 and gmail. SO when you want to send the emails from these connectors, they will pick up by default the user with which connection to them was created. BUT you can circumvent this behavior. Refer following screenshot

For Office 365

Send As different user

But please understand that it requires a valid email address and it requires the current user used to create in logic apps to have necessary and sufficient permissions on the send as user.

For GMAIL

It is not possible to set a FROM field in the GMAIL connector

In case of send grid you have the option to set the 'From' email address, BUT the requirement is that "It needs to be a valid email in your organizations domain". Refer the official documentation for the Send Grid Connector. Send Grid Connector

And I would suggest you to create your own no-reply email id rather than using microsoft's .

Upvotes: 2

Related Questions