cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
frixel
Level: Powered On

Reply mail with the attachment

How to reply a mail with the attachment from my inbox?

I have this but it doesn`t work.

 

flow1.png

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

 

In a earlyer post you show this prinscreen

flow1.png

What is the different with this, Why first the test as attachment?

flow2.png

View solution in original post

Dual Super User
Dual Super User

Re: Reply mail with the attachment

HI @frixel 

 

Earlier we were collecting all the attachments in an array and then passing that in the reply email action. But I observed that we can directly pass the attachments array itself over there and get all the attachments n the reply email action. Therefore skipping the variable part. 

 

Did you try the last one? Were you able to resolve with that?

View solution in original post

18 REPLIES 18
Super User
Super User

Re: Reply mail with the attachment

@frixel 

I believe your issue is that you need to use the Message Id from from Dynamic properties instead of the "From" field in the Send an Email Message ID field.

MessageID.jpg

 

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

Scott
frixel
Level: Powered On

Re: Reply mail with the attachment

Hi @ScottShearer 

 

Thanks, now i have it with the Message id now .

I received then an reply email but without tne attachment.

 

Flow1.png

Community Support Team
Community Support Team

Re: Reply mail with the attachment

Hi @frixel ,

 

Do you want to reply to an email with original email attachments?

 

I have made a test using Reply to email (V3) and it is working properly.

 

Besides, in order to send the attachments at a time, I am using an array variable.

 

Please check the detailed steps.

 

After When a new email arrives, initialize an Array variable named Test.

 

Get attachment from the trigger, an Apply to each will be added automatically, within the Apply to each, add action Append to array variable and configure the Value field likes below:

 

{

"Name": ⁠Attachment Name,

 "ContentBytes": ⁠Body(‘Get_attachment’)[‘$content’]

}

 

Under the apply to each, add Reply to email (V3). Note, you need to click the button to switch to input entire array.

1.PNG2.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
frixel
Level: Powered On

Re: Reply mail with the attachment

@v-yamao-msft 

@ScottShearer 

 

I have this error

 

Flow1.png

 

Dual Super User
Dual Super User

Re: Reply mail with the attachment

@frixel 

 

Were you able to resolve? If not, can you please post a screenshot of the current flow? 

frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

No is not resplved.
I have a reply but whitout the attachment.

 

flow1.png

 

flow1.pngflow2.png

Dual Super User
Dual Super User

Re: Reply mail with the attachment

Hi @frixel 

 

Please see the screenshot below and check if the settings are there in your flow trigger:ads.png

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

 

Yes now i do that☺

But still this error.

flow2.png

flow1.png

Dual Super User
Dual Super User

Re: Reply mail with the attachment

Hi @frixel 

 

Looks like you are not typing any message in the body of the Reply to email action. Can you type some text there and see if you continue to get the same error?

frixel
Level: Powered On

Re: Reply mail with the attachment

Hi @yashag2255 

 

Yes i really set some text here.

 

flow1.png

Dual Super User
Dual Super User

Re: Reply mail with the attachment

Hi @frixel 

 

Please have a look at the screenshot below:

Mai.PNG

Please make sure that in the append to array variable action, you are using the "" for the name and you should not use these for the attachment content. I made a test with this on my end and it works. You do not need the get attachment action. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

 

I have checked the append array and it seems good,

I see you use the "Reply to email V2"  ans i have the "Reply to email V3" so i changed mine to, to "Reply to email V3"  

I delete the "Get attachment" action.

 

But always a error 😞

Unable to read message or attachment content.
clientRequestId: cf383766-a07e-4b6b-9743-1ff5d341a60a
serviceRequestId: faab89e6-1938-4205-a144-4016a74f78db;5be4dc23-f7d4-488f-a7f4-51f5ad636f02;a1a66781-e099-4ce3-a712-c577226965e0;aac182fa-b40b-4001-86a1-430e7f842395

 

flow1.pngflow2.pngflow3.png

Dual Super User
Dual Super User

Re: Reply mail with the attachment

Hey @frixel 

 

If you see the Append to array variable action, in the contentbytes field, it should be Attachment content and not body. Please make that change and run the flow again. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

 

I changed it to attachment content, but thr same error.

flow2.pngflow1.png 

Dual Super User
Dual Super User

Re: Reply mail with the attachment

Hey @frixel 

 

We were unnecessarily following a long process. I just did this modification in the flow:emails.PNG

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

 

In a earlyer post you show this prinscreen

flow1.png

What is the different with this, Why first the test as attachment?

flow2.png

View solution in original post

Dual Super User
Dual Super User

Re: Reply mail with the attachment

HI @frixel 

 

Earlier we were collecting all the attachments in an array and then passing that in the reply email action. But I observed that we can directly pass the attachments array itself over there and get all the attachments n the reply email action. Therefore skipping the variable part. 

 

Did you try the last one? Were you able to resolve with that?

View solution in original post

frixel
Level: Powered On

Re: Reply mail with the attachment

@yashag2255 

perfect and thank you.

It works now fine for me☺

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 253 members 6,536 guests
Please welcome our newest community members: