Issue with Missing Table Borders in Emails Sent During Case Creation

Hi Everyone,

When creating a case, there’s an issue on a specific screen where, upon clicking submit, an email is sent to the user containing details in a table format. However, the table borders are not visible in the received email. The borders appear correctly in the case attachments but not in the email itself. I’ve tested this with both Microsoft Outlook and Gmail, and the borders are missing in both. Could you please assist me in resolving this issue?

Thank you.

@Prashanths9849

To implement this, you can modify the correspondence rule. Specifically, include a section rule and within that section rule, uncheck the “Auto-Generated HTML” option. Then, provide your custom HTML code in the HTML source field.

Example:

<table style="width: 100%; border-collapse: collapse;">

<tbody>

<tr>

<th style="border: 2px solid; text-align: left; padding:5px 5px 5px 5px;">SerialNumber</th>

<th style="border: 2px solid; text-align: left; padding:5px 5px 5px 5px;">Status</th>

</tr>

<pega:forEach name=".TempList">

<tr>

<td style="border: 2px solid; padding:5px 5px 5px 5px;"><pega:reference format="pxDisplayText" name="$THIS.pxListSubscript"></pega:reference></td>

<td style="border: 2px solid; padding:5px 5px 5px 5px;"><pega:reference format="pxDisplayText" name="$THIS.pyStatusWork"></pega:reference></td>

</tr>

</pega:forEach>

</tbody>

</table>

@Prashanth CTS

in the correspondence rule source only mode you can do similar to this this to have the grid of the table show in the email in outlook:


```
<style>
table {
border-collapse: collapse;
width: 100%;
}
table td table td table td,  table td table td table th {
border: 1px solid #000;
padding: 8px;
text-align: center;
}
th {
font-weight: bold;
}

(section include of the table here) 
...

</style>
```

– you do the ‘table td table td table td’ part because of how pega formats the outlook message with tables within tables and avoid triple bordering the whole thing