Hello,
I have a collection where one column contains an e-mail address, could be different for any rows. From this collection I am making a table which is in the body (below code)
What I want is to send e-mail to every unique address which occur in the collection with filtered rows with that address in the E-mail Column.
What is the best way to do it? Thank you
Office365Outlook.SendEmailV2(
"miro.zak@xxxx.com";
"Schválené přesčasy dne "&Today()&" - týdenní";
"
<table>
<tr>
<th>KT</th>
<th>Os. číslo</th>
<th>Pracovník</th>
<th>Hodiny</th>
<th>Středisko</th>
<th>Práce v noci</th>
<th>Důvod</th>
<th>Stav</th>
</tr>
"&
Concat(
colSchvalT;
$"<tr>
<td>"&TextCanvas8_5.Text&"</td>
<td>"&Subtitle5_5.Text&"</td>
<td>"&Title5_5.Text&"</td>
<td>"&Text6_3.Text&"</td>
<td>"&TextCanvas11_5.Text&"</td>
<td>"&Text27.Text&"</td>
<td>"&Text7_3.Text&"</td>
<td>"&If(
Radio1T.Selected.Value = "Ano"; "Schváleno"; "Zamítnuto"
)&"</td>
</tr>
")&"
</table><p>
"&Text14_6.Text&"<br>
Bloky: "&Concat(cbxBlokCisloT.SelectedItems; Value; "T, ")&"T<br><p>
"
);;