Use HTML Tag in Email Notification

ayan_c
Kilo Explorer

Hi All,

 

Is it possible to use HTML tag in Email Notification Message. I know it is possible to use <tr> or <td> in there, but my actual question is like, can I use below structured HTML in Email Notification:

 

------------------------------------------------------------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

      <meta name="viewport" content="width=device-width, initial-scale=1.0" />

      <title>Feedback</title>

      <style type="text/css">

        body {

              width: 100% !important;

              margin: 0;

              padding: 0;

              font-family: Helvetica, Arial, sans-serif;

              color: #000;

              font-size: 16px;

              background-color: #f3f3f3;

      }

</head>

<body>

<table............>

.....................................

</table>

 

</body>

 

</html>

3 REPLIES 3

rgm276
Mega Guru

I believe that this would be dependent upon the users receiving email system/configuration. i.e. is the email system setup to receive as 'plain text' or as formatted HTML ?     If its internal to your organization, and you know how the messages are going to be received, then you should be OK.   If you have a test/dev environment, I would highly recommend just to simply try it out.


hpesata
Kilo Expert

Chandan23
Tera Expert


You must have use inline style tag. The style tag you have used will not work for email body. so change the css to inline