email signature image is not visible in preview notification

AbhijeetKhade
Tera Contributor
 
 
 

 

 

 

(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
    /* Optional EmailOutbound */
    email, /* Optional GlideRecord */ email_action,
    /* Optional GlideRecord */
    event) {


    template.print("Yours sincerely,<br/>");
  template.print("<b>xyz</b><br/>");
    template.print("Director - <br/>");
    template.print("pvt Limited<br/>");
	template.print('<font size: 8px>');
    template.print("<i>xyz</i><br/>");
	template.print('</font>');
    template.print("xyz, India<br/>");	
    template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
    template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
    template.print('<img src="<img src="https://xyz.service-now.com/signature%20email.png">');
    //template.print('<P></P>');
})(current, template, email, email_action, event);

 

 

 

3 ACCEPTED SOLUTIONS

Amitoj Wadhera
Kilo Sage

Hi @AbhijeetKhade ,

 

Corrected Script:

(function runMailScript(current, template, email, email_action, event) {

    template.print("Yours sincerely,<br/>");
    template.print("<b>xyz</b><br/>");
    template.print("Director - <br/>");
    template.print("pvt Limited<br/>");
    template.print('<font size="8px">');
    template.print("<i>xyz</i><br/>");
    template.print('</font>');
    template.print("xyz, India<br/>");	
    template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
    template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
    template.print('<img src="https://xyz.service-now.com/signature%20email.png" alt="Email Signature">');

})(current, template, email, email_action, event);

 

If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.

 

Thanks,

Amitoj Wadhera

View solution in original post

dgarad
Giga Sage

Hi @AbhijeetKhade 

change your code as below

function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
    /* Optional EmailOutbound */
    email, /* Optional GlideRecord */ email_action,
    /* Optional GlideRecord */
    event) {


    template.print("Yours sincerely,<br/>");
  template.print("<b>xyz</b><br/>");
    template.print("Director - <br/>");
    template.print("pvt Limited<br/>");
	template.print('<font size: 8px>');
    template.print("<i>xyz</i><br/>");
	template.print('</font>');
    template.print("xyz, India<br/>");	
    template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
    template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
    template.print('<img src="https://xyz.service-now.com/signature%20email.png">');
    //template.print('<P></P>');
})(current, template, email, email_action, event);

.

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

View solution in original post

Thank you for solution its working

View solution in original post

5 REPLIES 5

dgarad
Giga Sage

Hi @AbhijeetKhade 

change your code as below

function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
    /* Optional EmailOutbound */
    email, /* Optional GlideRecord */ email_action,
    /* Optional GlideRecord */
    event) {


    template.print("Yours sincerely,<br/>");
  template.print("<b>xyz</b><br/>");
    template.print("Director - <br/>");
    template.print("pvt Limited<br/>");
	template.print('<font size: 8px>');
    template.print("<i>xyz</i><br/>");
	template.print('</font>');
    template.print("xyz, India<br/>");	
    template.print("Customer Service (Mon – Fri: 10.00 am to 07.00 pm).<br/>");
    template.print("<a href='" + gs.getProperty("redirect.customer") + "'> Click here to connect us on portal</a><br/>");
    template.print('<img src="https://xyz.service-now.com/signature%20email.png">');
    //template.print('<P></P>');
})(current, template, email, email_action, event);

.

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad