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 Apps / Send multiple Emails o...
Power Apps
Unanswered

Send multiple Emails only in Bcc

(0) ShareShare
ReportReport
Posted on by 228

Hi,

 

i want sent multiple Emails from my app only in bcc, so i see for one Email adress is this possible with Bcc: but i dont know how can i do this for multiple adresses? my _emailRecipientString has in this case 30 adresses.

 

This is my code.

 

Set(
 _emailRecipientString;
 Concat(
 Filter(
 myEmails.Email;
 !IsBlank(Email)
 );
 Email & ";"
 )
);;
Office365.SendEmail(
 _emailRecipientString;
 TextEmailSubject1.Text;
 TextEmailMessage1.Text;
 {
 Importance: "Normal"
 }
);;
Reset(TextEmailSubject1);;
Reset(TextEmailMessage1);;
Clear(myEmails)

Thanks for all your support.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Tamer66 

    If I understand you correctly, you want to add a BCC to your message.

    If you want that, then you will need to change your formula a bit (also, I recommend SendMailV2).

    Set(
     _emailRecipientString;
     Concat(
     Filter(
     myEmails.Email;
     !IsBlank(Email)
     );
     Email & ";"
     )
    );;
    Office365.SendEmailV2(
     _emailRecipientString;
     TextEmailSubject1.Text;
     TextEmailMessage1.Text;
     {
    Bcc: "email@domain.com", // <- put whatever BCC address you want in here Importance: "Normal" } );; Reset(TextEmailSubject1);; Reset(TextEmailMessage1);; Clear(myEmails)

    I hope that is what you are looking for and it is helpful.

     

  • Tamer66 Profile Picture
    228 on at

    @RandyHayes 

     

    thanks for your answer. I have a mutiple email adress that comes from a collection "myEmails" and i want to send this only in Bcc and not in normal to.

     

    So i have currently no idea how can i do this. 

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Tamer66 

    Oh, so it's that you want to send a BCC to all the people in the myEmails list.

    Then, just change your formula to this:

    Set(
     _emailRecipientString;
     Concat(
     Filter(
     myEmails.Email;
     !IsBlank(Email)
     );
     Email & ";"
     )
    );;
    Office365.SendEmailV2(
     "someEmail@domain.com"; // I've not confirmed, but I believe you need at least one valid email to send to.
     TextEmailSubject1.Text;
     TextEmailMessage1.Text;
     {
     Bcc: _emailRecipientString, 
     Importance: "Normal"
     }
    );;
    Reset(TextEmailSubject1);;
    Reset(TextEmailMessage1);;
    Clear(myEmails)

    That will send an email to the "dummy" email address you have in the recipient parameter, and it will then also send to the list of recipients as BCC's.

  • Tamer66 Profile Picture
    228 on at

    @RandyHayes 

     

    great, thanks a lot for your Support.

     

     

  • d3werker Profile Picture
    25 on at

    Hello RandyHayes, great script 😉 

     

    Could I set another subject in bcc?

  • d3werker Profile Picture
    25 on at

    Hello RandyHayes, great script... 😉

     

    Could I set another subject in the bcc?

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard