Skip to main content

Search

Send Email Action Issue - HTML For Table

Comments

2 comments

  • skybow support

    Hi Dan

    I'm quite sure the placeholders with spaces are wrong - like these: [[Received From]], [[Check Date]]. Use the correct internal field names for these.
    Use the "Test" button in Expression Builder to check if the email body can be evaluated well and the output is your expected HTML.

    If you have issues in general with sending/receiving emails (regardless of the email body content) with the Send Internal Email action, make sure the recipient user is known in the current SharePoint site (e.g., used in a PeoplePicker field). You can check if the user exists by checking the hidden User Information List on your site: {yourSiteCollectionUrl}/_catalogs/users

    0
  • Dan Thale

    Thanks for the reply! I must have pasted the wrong code in my initial post, but yes, those field names were correct in the actual action. I've also checked the users as you suggested and see myself who is the recipient on all these test emails. Below is the sanitized Test result from the expression builder. Additionally, i've tried sending from my own email to myself, an O365 group email, as well as no-reply@sharepointonline.com. Anything else I can try?

    <p><span style="font-size:18px">MNMS SharePoint</span></p>

    <p><span style="font-size:14px">New Deposit Item Created</span></p>

    <table border="0" cellpadding="1" cellspacing="1" style="width:500px">
        <tbody>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Managed LLC</strong></span></td>
              <td style="width:328px"><span style="font-size:10px">XXXXXXX LLC</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Payee</strong></span></td>
              <td style="width:328px"><span style="font-size:10px">XXXXXXX Services LLC</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Check Number</strong></span></td>
                <td style="width:328px"><span style="font-size:10px">1249</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Status</strong></span></td>
                <td style="width:328px"><span style="font-size:10px">Pending Receipt</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Received From</strong></span></td>
              <td style="width:328px"><span style="font-size:10px">XXXXXX Boulevard LLC</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Check Date</strong></span></td>
                <td style="width:328px"><span style="font-size:10px">11/15/2022</span></td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Amount</strong></span></td>
                <td style="width:328px"><span style="font-size:10px">4000</span></td>
            </tr>
            <tr>
                <td style="width:159px">&nbsp;</td>
                <td style="width:328px">&nbsp;</td>
            </tr>
            <tr>
                <td style="width:159px"><span style="font-size:10px"><strong>Edit Item Link</strong></span></td>
              <td style="width:328px"><a href="XXXXXXXXXXX.com/sites/XXXXXXXXXServicesLLC/_layouts/15/start.aspx#/Lists/Deposit%20Log/EditForm.aspx?ID=2"><span style="font-size:10px">Click Here to Edit Item</span></a></td>
            </tr>
            <tr>
                <td style="width:159px">&nbsp;</td>
                <td style="width:328px">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" style="width:130px"><span style="font-size:9px">Created by:  on </span></td>
            </tr>
        </tbody>
    </table>

    <p>&nbsp;</p>

    <p>&nbsp;</p>

    <p>&nbsp;</p>

    <p>&nbsp;</p>
    0

Please sign in to leave a comment.