cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is it possible to open outlook on another page with a message set up and send email already set?

Hello. We are trying set up a feature in our app where a user can select a button in the app and it will open up outlook in a new window with a new message ready an with the "send" already set to a certain email.

I know I can use Launch() to open up outlook but is it possible to have it automatically have a new message ready and the send already filled with an email?

Just want to confirm if anyone has tried this and if it is even possible.

1 ACCEPTED SOLUTION

Accepted Solutions
Ramole
Memorable Member
Memorable Member

Hi @Mgodby 

 

You can use this code 

 

Launch(
    "mailto:" & ComboBox1.Selected.Mail,
    {
        subject: TextInput1.Text,
        cc: ComboBox1.Selected.Mail,
        body: RichTextEditor1.HtmlText
    }
)

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

4 REPLIES 4
Ramole
Memorable Member
Memorable Member

Hi @Mgodby 

 

You can use this code 

 

Launch(
    "mailto:" & ComboBox1.Selected.Mail,
    {
        subject: TextInput1.Text,
        cc: ComboBox1.Selected.Mail,
        body: RichTextEditor1.HtmlText
    }
)

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

StalinPonnusamy
Community Champion
Community Champion

Hi @Mgodby

 

We can use Power automate to send emails when some conditions are met. In this case, you have a more tracking system and are easy to maintain.

Thank you so much. This works very well. I notice it opens your default mail app when you launch, is there a way to do this in the browser to make it open outlook in the browser? Thank you.

Ramole
Memorable Member
Memorable Member

@Mgodby 

Glad to help, I never tried that but I will check that.

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,895)