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 email To with def...
Power Apps
Unanswered

Send email To with default email address

(0) ShareShare
ReportReport
Posted on by

Hi all

 

I have a normal canvas app with email sending screen. I would like to have a default email address set because there is always the same recepient and therefore it's no need to type anything. I keep getting error parameter To cannot be empty.

 

How could I get email address as default.

 

Set(
    _emailRecipientString;
    Concat(
        MyPeople;
        Mail & ";"
    )
);;
Office365Outlook.SendEmailV2(
    _emailRecipientString;
    TextEmailMessage1.Text;
    HtmlText2.HtmlText;
    {
        To: "email@testemail.com";
        Importance: "Normal";
        IsHtml: true        
       
    }
);;
 
 
 
BR
Matt
Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @Matt78 ,

     

    What is MyPeople? Is it a collection? How's it created?

     

    Best regards,

  • Matt78 Profile Picture
    on at

    Yes, MyPeople is collection and it's gallery

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Matt78 ,

     

    Something is wrong in the formula, please try:

    Office365Outlook.SendEmailV2(
     "email@testemail.com";
     TextEmailMessage1.Text;
     HtmlText2.HtmlText;
     {
     Cc:_emailRecipientString;
     Importance: "Normal";
     IsHtml: true 
     
     }
    );;

     

    Best regards,

  • Matt78 Profile Picture
    on at

    This worked. Thank you so much 🙂

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard