cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
k_romych
Frequent Visitor

Send email with text file attachment

Hi All

I need to send an email with text file attachment (created from some text fields) so was doing some testing:

Office365Outlook.SendEmailV2("SomeEmail@email.com", "Testing Form", "Testing Form Body", 
          {Attachments:Table({Name:"AT.txt", ContentBytes:"Some Text" , '@odata.type':"" }) } )

but getting following error:

 

k_romych_0-1602075278114.png

Any ideas what could be wrong?

Thanks

 

2 REPLIES 2
LuisTalavera
Helper I
Helper I

Hi @k_romych,

 

why don’t you use power automate?. I think that the connector of power automate do they work. I hope your response.

Regards,

 

Luis Talavera

@LuisTalavera  - I need an email to go from the user who runs the app, I dont think its possible in a flow (unless you give send as permission for all mailboxes to user that runs the flow)

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (53,981)