Skip to main content

Hi,

Currently I’m facing an issue with the below notification message, it should get the details from DB and print that in email as mentioned below

Recipient's Name - person.first_name

Role_Name - person_role.user_role

How can we set the placeholder for Recipient's Name, Role_Name in html editor to fetch the data and print it in email.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
</head>
<body>
<div class="container" style="width: 100%; max-width: 600px; margin: 0 auto; background-color: #000000; padding: 20px; border: 1px solid #dddddd;">
<div class="header" style="background-color: #1A2E61; color: #ffffff; padding: 10px 20px; display: flex; align-items: center;">
<h1>Welcome to IFS</h1>
</div>
<div class="content" style="padding: 20px; color: #333333;">
<p>Dear eRecipient's Name],</p>
<p>Your <b>&Role_Name]</b> access has been provisioned.</p>
<p> This will give you access to the below applications:</p>
<p><li>PSO</li>
<li>FSM</li><br>
</p>
<p>For further support please contact IFS</p>
</div>
</div>
</body>
</html>

 

Hi ​@preethi.a05 

Try the following syntax.

{{table.field}}<

For example,

{{person.full_name}}

 

Cheers!


Reply