cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

I want to send e-mail with subject and detail with Launch function

I use Lunach function for sending and e-mail but in subject topic it doesn't work

 

Launch("mailto:" & TextInput3.Text & "?subject=" & DataCardValue3.SearchText)

 

I want to send subject by text in DataCardValue3.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: I want to send e-mail with subject and detail with Launch function

@mae_be9292 

 

What is the control type for DataCardValue3? DataCardValue3.SearchText refers to a combobox searched value, if you want to have a Text Input from the user, you need to add a Text Input control in your data card. By default, it doesn't allows to add controls in a data card, you need to unlock properties from the right menu.
 
So, suppose a TextInput control is added with name "TextInput1", then your formula will get modified to :
Launch("mailto:" & TextInput3.Text & "?subject=" & TextInput1.Text)
 
or else, if you want to use the value selected from the combobox item:
Launch("mailto:" & TextInput3.Text & "?subject=" & Text(DataCardValue3.Selected.Result))
 
Here, if your attribute name is not Result, then you need to replace Result with the actual attribute that you want to pass.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User
Dual Super User

Re: I want to send e-mail with subject and detail with Launch function

@mae_be9292 

 

What is the control type for DataCardValue3? DataCardValue3.SearchText refers to a combobox searched value, if you want to have a Text Input from the user, you need to add a Text Input control in your data card. By default, it doesn't allows to add controls in a data card, you need to unlock properties from the right menu.
 
So, suppose a TextInput control is added with name "TextInput1", then your formula will get modified to :
Launch("mailto:" & TextInput3.Text & "?subject=" & TextInput1.Text)
 
or else, if you want to use the value selected from the combobox item:
Launch("mailto:" & TextInput3.Text & "?subject=" & Text(DataCardValue3.Selected.Result))
 
Here, if your attribute name is not Result, then you need to replace Result with the actual attribute that you want to pass.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Helper I
Helper I

Re: I want to send e-mail with subject and detail with Launch function

Thank for your help

 

I try your solution, it work but must change some detail

 

Launch("mailto:" & TextInput3.Text & "?subject=" & Text(DataCardValue3.Selected.Value))

 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (9,604)