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 Apps / send only one email to...
Power Apps
Answered

send only one email to list of multiple email addresses

(0) ShareShare
ReportReport
Posted on by 28

Hi all,

 

I would like to ask how can I make use of the flow to send one email to list of multiple email addresses as there are email address appeared 100 times so I don't want to send 100 emails to him.

 

At first, I have used 'get items' and its filter query is sent to filter only expiry date is less than a week.

And make use of 'compose' with the equation is the length(outputs('Get_items')?['body/value'])

And then I use apply to each to send email with the to column is inputting the 'supervisor email' which is a column with email address text stated in the shairpoint.

 

May I know how can I achieve it?

 

Thank you.

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

    Hi @da_1299 ,

     

    I did a simple test for you.

    v-xiaochen-msft_1-1620292916788.png

     

    v-xiaochen-msft_0-1620292901640.png

    v-xiaochen-msft_2-1620292946027.png

    v-xiaochen-msft_3-1620293005211.png

    Value:

    union(variables('Thevar'),variables('Thevar'))
     
    v-xiaochen-msft_4-1620293085845.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

  • da_1299 Profile Picture
    28 on at

    Thank you.

    As I had used filter function to filter out the date already, May I know is it possible for me to start right after the compose variable? (with the equation is the length(outputs('Get_items')?['body/value']))

     

    Thank you.

     

     

    da_1299_0-1620353793724.png

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @da_1299 ,

     

    I am not very clear what your question is. I don't know why compose is used here. What is its purpose?

    If there are many duplicate emails in your Email column, please try my method.

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • da_1299 Profile Picture
    28 on at

    I have a sharepoint list with the data containing deadline and the student email address about the assignments. I would like send an email reminder to the student a week before the deadline. However, when the student have lots of assignments needed to be handed in on that day, instead of sending 10 emails to that student, I would like to send one email to that student. May I ask how can I achieve this?

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @da_1299 ,

     

    Please try this:

    This is my list. 'DateColumn' is a Date column.

    v-xiaochen-msft_0-1620372645835.png

     

    This is my flow.

    v-xiaochen-msft_1-1620372700094.png

    v-xiaochen-msft_2-1620372741940.png

    v-xiaochen-msft_3-1620372905301.png

    1. formatDateTime(addDays(item()?['DateColumn'], -7), 'yyyy-MM-dd')

    2. formatDateTime(utcNow(), 'yyyy-MM-dd')

    3. [{"TestEmail":"a","Subject":"a"}]

    v-xiaochen-msft_4-1620373040631.png

    4. union(variables('Var1'),variables('Var1'))

    v-xiaochen-msft_5-1620373201769.png

    v-xiaochen-msft_6-1620373231312.png

     

    Its result:

    v-xiaochen-msft_7-1620373278744.png

    v-xiaochen-msft_8-1620373341919.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • da_1299 Profile Picture
    28 on at

    what should I choose for the current item in the email? And also what should I enter for the last set variable value?Thank you.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard