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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

@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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,403)