简体   繁体   English

使用 SendGrid 从逻辑应用向多个收件人发送电子邮件

[英]Sending emails with SendGrid from a logic app to multiple recipients

Is there a simple way to send emails from an Azure logic app using SendGrid to multiple recipients, eg comma-separated etc?有没有一种简单的方法可以使用 SendGrid 从 Azure 逻辑应用程序向多个收件人发送电子邮件,例如逗号分隔等?

This is how it looks now:这是它现在的样子:

       "actions": {
        "Send_email_(V3)": {
          "type": "ApiConnection",
          "inputs": {
            "host": {
              "connection": {
                "name": "@parameters('$connections')['sendgrid']['connectionId']"
              }
            },
            "method": "post",
            "body": {
              "from": "webserver@hotmail.com",
              "to": "firstaddress@somemail.com",
              "subject": "** My subject **",
              "text": "Some text",
              "ishtml": ""
            },
            "path": "/v3/mail/send"
          },

Is it possible to have有没有可能

"to": "firstaddress@somemail.com, secondaddress@somemail.com"

?

The SendGrid V3 connector documentation states that you can separate the email addresses by comma in the To , CC or BCC fields: SendGrid V3 连接器文档声明您可以在ToCCBCC字段中用逗号分隔 email 地址:

Valid email addresses separated by a semicolon or comma有效的 email 地址以分号或逗号分隔

Checkout the documentation: SendGrid Connector查看文档: SendGrid 连接器

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

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