CA Service Management

  • 1.  Message Template Notification doesn't show background color

    Posted Aug 24, 2018 02:47 AM

    Dear All,

    I create new Message Template for Email Notification that use format for the following below:

    HTML Source: 

    <style>
    table#t01 {
    width:70%;
    }

    table#t01 td {
    background-color: #f10281;
    color: white;
    }
    table#t01 th {
    background-color: #ffe1f0;
    color: black;
    }
    </style>

    <div>Incident INC@{call_req_id.ref_num} with the following details has been created and assigned to you. </br>You can check the status of this Incident by click here. 
    @{call_req_id.web_url}</br>
    </div>


    <div>
    <table id="t01">
    <tr>
    <td>Incident ID</td>
    <th>INC@{call_req_id.ref_num}</th>
    </tr>
    <tr>
    <td>Title</td>
    <th>@{esc_style=html justify=line:call_req_id.summary}</th>
    </tr>
    <tr>
    <td>Status</td>
    <th>@{call_req_id.status.sym}</th>
    </tr>
    <tr>
    <td>Priority</td>
    <th>@{call_req_id.priority.sym}</th>
    </tr>
    <tr>
    <td>Affected User</td>
    <th>@{call_req_id.customer.combo_name}</th>
    </tr>
    <tr>
    <td>Category</td>
    <th>@{call_req_id.category.sym}</th>
    </tr>
    <tr>
    <td>Assignee Name</td>
    <th>@{call_req_id.assignee.combo_name}</th>
    </tr>
    <tr>
    <td>Assignment Group</td>
    <th>@{call_req_id.group.last_name}</th>
    </tr>
    <tr>
    <td>Source</td>
    <th>Service Desk System</th>
    </tr>
    <tr>
    <td>Created Date</td>
    <th>@{call_req_id.open_date}</th>
    </tr>
    <tr>
    <td>Comment</td>
    <th>@{esc_style=html justify=line:call_req_id.description}</th>
    </tr>
    </table>
    </div>

    <div></br></div>
    <div></br></div>
    <div>Sincerely,</div>
    <div>MTL Service Desk Team</div>
    <div>Email: it-helpdesk@muangthai.co.th</div>
    <div>Tel: 02 274 9400 ext. 8228</div>
    <div></br></div>
    <div></br></div>

     

    When SDM send email notification to recipient which use gmail account, email message that show text only that doesn't show background color. This problem occurred with Gmail only.

    Have you ever encountered this problem? 

    Please help me to resolve it.

     

    Thanks and Regards,

    KS

     


  • 2.  Re: Message Template Notification doesn't show background color
    Best Answer

    Posted Aug 24, 2018 07:34 AM

    Hi,

     

    HTML based emails have limited tags support, this not an official tech doc but could be useful: https://www.pinpointe.com/blog/email-campaign-html-and-css-support 

     

    Directly answering your question: css classes are not supported, only inline props.

     

    Regards,

    Timur



  • 3.  Re: Message Template Notification doesn't show background color

    Posted Aug 27, 2018 01:26 AM

    Dear cdtj,

     

    Thanks for your help. Background color show in email notification now.

     

    Regards,

    KS.