Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

BCC when using data from SharePoint List

Posted on by 121

Hi all,

 

Relatively easy one i think, i'm using a button to pull all the users emails associated with a SP List and sending a blanket email to all. I don't want everyone to see who it goes to so wanted to utilise the BCC function. This is the working code for the none BCC, can someone point me where i need to add the code to allow bcc please.

 

Office365Outlook.SendEmail(
 Concat(
 CLUsers,
 Email & "; "
 ),
 "Feedback",
 "
Feedback received from


",
 {}
);
// {true} above was change
Notify(
 "Feedback Submitted Thank You",
 NotificationType.Success,
 5000
);

 

Thanks

Categories:
  • Markswan20 Profile Picture
    Markswan20 121 on at
    Re: BCC when using data from SharePoint List

    Thanks that does work with the BCC,

     

    I want to be able to fill in the subject and body in a text and send the specific contents to that group as before.

     

    My 2 fields are 

     

    SubjectALL (Text Input)

    BodyALL (Text Input)

     

    Where would these 2 fields be needed to allow the specific message to be sent to the group.

     

    Thanks 

  • mmbr1606 Profile Picture
    mmbr1606 9,998 on at
    Re: BCC when using data from SharePoint List

    hey @Markswan20 

     

    can you please try this:

    Office365Outlook.SendEmail(
     "yourEmail@example.com", // A placeholder or your email in the 'To' field
     "Feedback", // Subject
     "
    Feedback received from
    
    ", // Body
     {
     Bcc: Concat(
     CLUsers,
     Email & ";"
     )
     }
    );
    Notify(
     "Feedback Submitted Thank You",
     NotificationType.Success,
     5000
    );
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard