I have 4 chebox controls in my apps
checkbox1
checkbox2
checkbox3
checkbox4
Based on the selection of the controls in above it may be 1 &3 or it may be 2&4 i need to send an email to users what he selected
its in an HTML text format
Button Onselect control :
Set(checkBox1,If(checkBox1.Value,checkBox1.Text,""));
Set(checkBox2,If(checkBox2.Value,checkBox3.Text,""));
Set(checkBox3,If(checkBox3.Value,checkBox3.Text,""));
Set(checkBox4,If(checkBox4.Value,checkBox4.Text,""));
Set(chkBoxValues,Concatenate(checkBox1,checkBox2,checkBox3,checkBox4));
Set(_htmlTable,Concatenate("<table>
<tr style='height: 30px;'> </tr>
<tr>
<td colspan='2'>
<span style='font-family:Kristen ITC;color:steelblue;font-size:12pt; font-style: italic;
Font-weight: bold;'> Demonstrated: </span>
<span style='font-family:Comic Sans MS;color:#776665;font-size:10pt;'> ",chkBoxValues," </span>
</td>
</tr>
<tr style='height: 30px;'> </tr>
<tr>
<td colspan='2'>
<span style='font-family:Comic Sans MS;color:#776665;font-size:10pt;'>
'> ",TextEmailMessage1.Text,"
</span>
</td>
</tr>
</table>"));
Office365Outlook.SendEmail(_email, "Hi", _htmlTable, {IsHtml:true,Importance:"Normal"});

Report
All responses (
Answers (