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

Re: Send email and Attachment with Flow

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
Dual Super User

Re: Send email and Attachment with Flow

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
Resolver I
Resolver I

Re: Send email and Attachment with Flow

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

Highlighted
Community Support
Community Support

Re: Send email and Attachment with Flow

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
Helper III
Helper III

Re: Send email and Attachment with Flow

Hi,

 

very cool!

 

Thanks so mutch.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,200)