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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,245)