cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tamer66
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
v-yuxima-msft
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
Pstork1
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.
dyee4613
Helper V
Helper V

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

v-yuxima-msft
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

Hi,

 

very cool!

 

Thanks so mutch.

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,544)