Hello everyone, I am trying to provide option of image attachement in power apps for further sending in email.
Using:
Insert->Media->Add picture (name of object is "AddMediaWithImage")
and
Insert->Button
Office365Outlook.SendEmail(
"mymail@mail.com",
"Email Subject",
"Email Body",
{Attachments: {ContentBytes: AddMediaWithImage, '@odata.type': ""}}
)
And get an error "incompletable type. The 'AttachmentsContentBytes' column in the data source you're updating expects a 'Blob' type and you're using a "control' type
I tried different variations and always error..
thank you in advance