web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 'Send email with Optio...
Power Automate
Unanswered

'Send email with Options' with Attachment Error

(0) ShareShare
ReportReport
Posted on by 158

Hi, I'm encountering this Error and can't find something to solve this.

 

I am encountering this Error

 

Intoxicated_0-1693467354138.png

 

and cannot include the Attachments that I selected in this flow

 

Intoxicated_1-1693467408533.png

 

 

This is the Blocks of 'Get Item' and 'Get Attachments'

Intoxicated_1-1693467779666.png

 

 

 

And this is the Block of the Send Email with Options

Intoxicated_3-1693467536386.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on at

    Hi @Intoxicated,

    The point is the action miss attachments name.

    you can click the following button and set the name and content of attachment.

    vmingkzmsft_0-1693468406967.png

    vmingkzmsft_1-1693468465342.png

    If you want to send multiple attachments in one email, the following link may help you a lot.

    Advanced | Flow of the Week: Send multiple attachments on a single email | Power Automate Blog (microsoft.com)

     

    Best Regards,

    Kyrie

     

     

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Intoxicated 

     

    Pls follow the below steps to send the list attachments in an email:

     

    1. After "Get attachments" action, add an action to initialize the array variable that holds list item attachments information (name & bytes):

    ManishSolanki_0-1693468815868.png

     

    2. Next, add "Get attachment content" action to get the content bytes of each attachment. Pass the values in the input parameter as shown below:

    ManishSolanki_1-1693468985079.png

     

    3. Now, continue inside in the "Apply to each" action, add "Append to array variables" action to collect the name & content bytes or each attachment:

    ManishSolanki_2-1693469083180.png

    The code used inside "Value" parameter:

    {
    "name":@{item()?['DisplayName']},
    "contentBytes":@{body('Get_attachment_content')}
    }

     

    4. Finally, send the email by passing variable in the 'Attachments' parameter. This action should be called outside the "Apply to each" action:

    ManishSolanki_3-1693469193074.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

     

  • Intoxicated Profile Picture
    158 on at

    Yeah, That works. Thank You, I thought that you can simply attach multiple Attachments by clicking this

    Intoxicated_0-1693469251856.png

    since it says that

    Intoxicated_1-1693469261069.png

     

     

    Thanks a lot.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard