[英]send email with attachment in Azure Data factory
I need to send an email with attachment according to a condition from table. 我需要根据表格中的条件发送带有附件的电子邮件。 For eg I have a table XYZ which has column "Flag" and if the column flag value is "N" then it has to pick the values with value as "N from the table and write into a file. This file has to be sent as attachment in an email in Azure data factory. f you can help with the process for this in Azure data factory it should be great. 例如,我有一个表XYZ,它的列为“ Flag”,并且如果列标志值为“ N”,则它必须从表中选择值为“ N”的值并写入文件中。作为Azure数据工厂中电子邮件的附件,您可以在Azure数据工厂中完成此过程,这应该很棒。
Per my researching, there is no such activity could send email with attachment,you could vote up this feedback to improve this feature. 根据我的研究,没有这样的活动可以发送带有附件的电子邮件,您可以对此反馈进行投票以改善此功能。
As workaround, you could adopt @Raunak Jhawar's suggestion that using SQL Connector Trigger . 解决方法是,您可以采用@Raunak Jhawar的建议,即使用SQL Connector Trigger 。
Then you could get the value you want into Azure File Storage or Azure Blob Storage. 然后,您可以将所需的值添加到Azure文件存储或Azure Blob存储中。
After that,send email with attachments following this tutorial . 之后,请按照本教程的要求发送带有附件的电子邮件。 Here is s similar case for your reference: Azure Logic app : How to Send an Email with one or more attachments after getting the content from Blob storage? 这是一个类似的案例供您参考: Azure Logic应用程序:从Blob存储中获取内容后如何发送带有一个或多个附件的电子邮件?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.