cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Send email and Attachment with Flow

Hello,

 

i want to send directly from my App an Email with Attachments and additionaly receiver (to)

 

My situation

I have an App with a gallery that are connected to a sharepoint list, in the detail from an item i create a Button for sending the information via Flow to a Email Recipient

 

I send the Email via .Run to my flow

sendEmailAnGW.Run(subject,body...)
 

10-05-2019 15-50-33.jpg

 

This works pretty good but

 

- how can i use the Email Recipient directly from the app

- how can i send the attachment from my item too

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @Tamer66 ,

 

Do you want to send email and attachments by PowerApps?

I think you can reference this case I replied before:

https://powerusers.microsoft.com/t5/General-Discussion/Send-e-mai-with-any-type-of-attachments/m-p/2...

If you want to use Flow to send multiple attachments,could you please reference this:

https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

 

If you also have some doubts,please don't hesitate to update.

 

Best Regards.

Yumia

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

BAsically you do the same thing you are doing for Subject and Body.  In the Flow use the 'Ask in PowerApps' dynamic data entry to add a field to hold the email address of the recipient to the run parameters.  Do the same for any attachments you want to include. For the attachments you'll probably need to store them in a known location like your OneDrive and just pass the file name(s) as a parameter.  Then retrieve the actual files contents in the flow and add them as attachements to the email.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper V
Helper V

Wouldn't it be easier to load your office 365 as a dataset and email directly from powerapps?  

Highlighted
Community Support
Community Support

Hi @Tamer66 ,

 

Do you want to send email and attachments by PowerApps?

I think you can reference this case I replied before:

https://powerusers.microsoft.com/t5/General-Discussion/Send-e-mai-with-any-type-of-attachments/m-p/2...

If you want to use Flow to send multiple attachments,could you please reference this:

https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

 

If you also have some doubts,please don't hesitate to update.

 

Best Regards.

Yumia

View solution in original post

Highlighted

Hi,

 

very cool!

 

Thanks so mutch.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,985)