Announcements
I'm using the OFTB email screen and want to be able to hard code an email address in the MyPeople collection. The values in this collection are used for recipents of the email.
Example:
Every time an email is sent using this screen I want INFO@INFO.com to be included in the To line.
Hi,
You can add necessary email address column to the collection as follows: Collect(Collection_1,AddColumns(Sharepoint_List,"NewColumn_1",info@gmail.com));
and use it to send email as required.
Please mark it as verified if it answers your question
Regards,
Pavan Kumar Garlapati
@Anonymous Eidt the code of the "send email" icon.
Set(_emailRecipientString, Concat(MyPeople, Mail & ";")); Office365.SendEmail(_emailRecipientString & "INFO@INFO.com", TextEmailSubject1.Text, TextEmailMessage1.Text, {Importance:"Normal"}); Reset(TextEmailSubject1); Reset(TextEmailMessage1); Clear(MyPeople)
@FoDelement Thanks for the reply! This is perfect, but is there anyway to have the email address show in the EmailPeopleGallery as well so it doesn't confuse my users?
That being a lookup column, it may be better to just add a label and put "Info@info.com will also be emailed" or something like that.
https://snipboard.io/V7bULE.jpg
@FoDelement Correct me if I'm wrong, but the PeopleBrowseGallery is the lookup and the EmailPeopleGallery list all the people in the MyPeople collection. Is there a way to have a default value in the MyPeople gallery without having to add to the collection manually?
@FoDelement Figured it out. Added the address to the collection from the OnVisible property of the screen. Thanks for the help!
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 530
WarrenBelz 459 Most Valuable Professional
Haque 314