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

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

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

Helper III
Helper III

Re: Send email and Attachment with Flow

Hi,

 

very cool!

 

Thanks so mutch.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,265)