[英]Send email in Azure Logic App with binary attachment
I am trying to use the "Send an email" on the office365 connector. 我正在尝试在office365连接器上使用“发送电子邮件”。
I am trying to send an email with a binary attachement. 我正在尝试发送带有二进制附件的电子邮件。 When i receive the email the content appears to be Base64 encoded. 当我收到电子邮件时,内容似乎是Base64编码的。 In order for my file to work, the content should not the raw binary payload. 为了使我的文件正常工作,内容不应为原始二进制有效负载。
How do i avoid the base64 encoding? 如何避免base64编码? I tried removing the base64 part: @{base64(body('binaryStuff'))}
in the code, but that caused my app to fail, with a "BadRequest" message. 我尝试删除代码中的base64部分: @{base64(body('binaryStuff'))}
,但这导致我的应用失败,并显示“ BadRequest”消息。
How do i send a binary attachement in my logic app? 如何在逻辑应用程序中发送二进制附件?
在让函数返回邮件附件的Base64字符串而不是byte []之后,逻辑应用程序似乎能够确定内容已编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.