I am using the Mail connector - Mail.SendEmailV3(To, Subject, Body,html, { files:blob});
I can not figure out the blob syntax/format for the argument {files: blob}
Please help!
Ray2020
Solved! Go to Solution.
Hi@ray2020,
Could you please tell me that you have stored the files using the Azure Blob Storage connector?
Do you want to send the files once you send a email using the Mail connector?
If my understanding is correct, I want to explain to you that you could not add the Mail connector and the Azure Blob Storage connector at the same time for that using these two connections together conflicts with the company data loss prevention policies.
For more details about the DLP, you could check the following article:
https://docs.microsoft.com/en-us/power-automate/prevent-data-loss
Here are some known Issues and limitations, please click the underlined content to check for reference.
For stability, I recommend you to use the Office 365 Outlook connector.
You need to add Office 365 Outlook connection and Azure Blob Storage connection within your app firstly.
You could set the OnSelect property of the Button as below:
Office365Outlook.SendEmailV3(
"User1@email.com",
"Subject Text Here",
"Email Body Message Here",
{
Attachments: ForAll(
AzureBlobStorage.ListFolderV2("Type your Specific Folder Id here").value,
{
Name: DisplayName,
ContentBytes: AzureBlobStorage.GetFileContent(Id),
'@odata.type': ""
}
)
}
);
More details about sending an email with attachments in canvas app, please check the following article:
Hope it helps.
Best Regards,
Qi
Hi@ray2020,
Could you please tell me that you have stored the files using the Azure Blob Storage connector?
Do you want to send the files once you send a email using the Mail connector?
If my understanding is correct, I want to explain to you that you could not add the Mail connector and the Azure Blob Storage connector at the same time for that using these two connections together conflicts with the company data loss prevention policies.
For more details about the DLP, you could check the following article:
https://docs.microsoft.com/en-us/power-automate/prevent-data-loss
Here are some known Issues and limitations, please click the underlined content to check for reference.
For stability, I recommend you to use the Office 365 Outlook connector.
You need to add Office 365 Outlook connection and Azure Blob Storage connection within your app firstly.
You could set the OnSelect property of the Button as below:
Office365Outlook.SendEmailV3(
"User1@email.com",
"Subject Text Here",
"Email Body Message Here",
{
Attachments: ForAll(
AzureBlobStorage.ListFolderV2("Type your Specific Folder Id here").value,
{
Name: DisplayName,
ContentBytes: AzureBlobStorage.GetFileContent(Id),
'@odata.type': ""
}
)
}
);
More details about sending an email with attachments in canvas app, please check the following article:
Hope it helps.
Best Regards,
Qi
User | Count |
---|---|
195 | |
123 | |
86 | |
48 | |
41 |
User | Count |
---|---|
281 | |
163 | |
138 | |
80 | |
76 |