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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

'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
    Manish Solanki Profile Picture
    15,167 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard