将Azure Blob Storage csv文件作为Microsoft Azure上用户的附件发送

问题描述 投票:1回答:1

我在Microsoft Azure中创建了一个Logic App。我首先进行调度程序重复,然后我使用作业输入和输出调用Azure ML批处理作业。在此之后,我必须在运行Azure ML作业后使用Azure中生成的azure blob存储.csv文件向用户发送电子邮件。那么,在运行带作业输入和输出的Azure ML批处理作业后,如何将azure blob存储文件发送给用户?

azure email-attachments azure-logic-apps azure-machine-learning-studio azure-blob-storage
1个回答
1
投票

根据您的描述,我假设您只是不知道如何在发送电子邮件操作中添加附件。这是Logic Apps流程。

你应该在Send an email action下的Attachments tick Add new parameter,然后你就可以添加附件了。如果在动态内容中没有File Content那里,你可以去code view,编辑那里的Send_an_email动作,ContentBytes下的Attachments应该是@{base64(body('Get_blob_content'))}

enter image description here

enter image description here

enter image description here

这是测试邮件结果。 csv文件内容是正确的。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.