Dear All,
I am working on flow and need to send a table in my email.
I got an HTML table code and used it. Although the table worked properly, however, I observed my mail signature was as well converted to Table.
How do I exclude my Email Signature from the Mail table formate?
I am using power automate create html table and then styling it with below code:
<style>
table {
border: 1px solid #006472;
background-color: #f5f9fa;
width: 100%;
text-align: center;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td {
font-size: 13px;
}
table thead {
background: #1C6EA4;
border-bottom: 2px solid #444444;
}
table thead th {
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border-left: 2px solid #D0E4F5;
}
table thead th:first-child {
border-left: none;
}
</style>
@{body('Create_HTML_table')}
kindly help
Solved! Go to Solution.
In the flow, when you read Email Body, identify the HTML tags where your signature is included.
With string functions such as IndexOf() and Substring(), try to truncate the unwanted msg from your email. Then pass rest of the email content to HTML table.
Give a try of above approach and it will work.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
In the flow, when you read Email Body, identify the HTML tags where your signature is included.
With string functions such as IndexOf() and Substring(), try to truncate the unwanted msg from your email. Then pass rest of the email content to HTML table.
Give a try of above approach and it will work.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
Checkout this post to find out how to format HTML table in Power Automate,
https://365stack.in/index.php/2021/12/25/how-to-style-html-table-in-power-automate/
Follow 365 Stack for instant updates.
User | Count |
---|---|
25 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
49 | |
29 | |
28 | |
25 | |
23 |