Hello,
I'm struggling to get my head around this one and hoping someone can help me.
I have an email button which looks like this and works fine
Office365Outlook.SendEmailV2("emailaddress","Stock", "<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Description</th>
<th>Device</th>
<th>Current Level</th>
</tr>" &
Concat(colTonerStock,
"<tr>
<td>" & Title & " </td>
<td>" & Device & " </td>
<td>" & CurrentLevel & " </td>
</tr>"))
I have created a dropdown which is using basic Sharepoint list of usernames and email addresses
If I use the following it works fine and sends an email based on the dropdown selection
Office365Outlook.SendEmailV2(Dropdown4.Selected.email,"Test","Test")
If I add the line into the HTML code I get a red X and can see why this would be a problem
Office365Outlook.SendEmailV2(Dropdown4.Selected.email,"test","Test1") "<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Description</th>
<th>Device</th>
<th>Current Level</th>
</tr>" &
Concat(colTonerStock,
"<tr>
<td>" & Title & " </td>
<td>" & Device & " </td>
<td>" & CurrentLevel & " </td>
</tr>"))