简体   繁体   English

Azure 逻辑应用程序 Outlook 连接器“发送带有选项的 Email”

[英]Azure Logic App Outlook Connector “Send Email with Options”

I am trying to create a flow in Logic app which will send a outage email to bunch of recipient.我正在尝试在 Logic 应用程序中创建一个流程,它将向一群收件人发送中断 email。 Now here I have to add a trigger which will get the user details from PostgreSQL stored in variable.现在在这里我必须添加一个触发器,它将从存储在变量中的 PostgreSQL 中获取用户详细信息。 In email session I will call this variable in To session.在 email session 我将在 To session 中调用这个变量。

Connect PostgreSQL Get User details Stored in Variable calling the variable in Outlook session Connect PostgreSQL Get User details Stored in Variable 调用Outlook中的变量 session

Please need your help请需要你的帮助

Now PostgreSQL connector available in logic app.现在PostgreSQL连接器在逻辑应用中可用。 If you use PostgreSQL connector in a logic app you need to create a gateway .如果在逻辑应用中使用 PostgreSQL 连接器,则需要创建网关 That gateway installation, which appears in the list only when these conditions are met:该网关安装,仅在满足以下条件时才会出现在列表中:

  • The gateway installation uses the same region as the gateway resource that you want to create.网关安装使用与您要创建的网关资源相同的区域
  • The gateway installation isn't linked to another Azure gateway resource .网关安装未链接到另一个 Azure 网关资源
  • The gateway installation is linked to the same Azure account that you're using to create the gateway resource.网关安装链接到您用于创建网关资源的同一个 Azure 帐户
  • Your Azure account belongs to a single Azure Active Directory (Azure AD) tenant or directory and is the same account that you used for the gateway installation.您的 Azure 帐户属于单个Azure Active Directory (Azure AD) 租户或目录,并且与您用于网关安装的帐户相同。

在此处输入图像描述

If it is possible to create a gateway you can use PostgreSQL Connector.如果可以创建网关,您可以使用 PostgreSQL 连接器。 Otherwise, you can use below method否则,您可以使用以下方法

You can use Azure function to connect PostgreSQL and get data from PostgreSQL using azure function.可以使用Azure function连接PostgreSQL ,使用azure function获取PostgreSQL的数据。

Try to add the azure function in logic app ( Check here for azure function call from logic app ).尝试在逻辑应用程序中添加azure function在此处查看来自逻辑应用程序的 azure function 调用)。

Create a Custom API Connector ( logic-apps-create-api-app ) & a Custom Logic App Connector ( custom-connector )创建自定义 API 连接器 ( logic-apps-create-api-app ) 和自定义逻辑应用程序连接器 ( custom-connector )

Refer here参考这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM