Email signature image is automatically attached with inbound email action

siddharth29
Mega Contributor

When end users reply to the ticket using Email, Service Now save the signature image which most of the HGST folks use are attached to the ticket.   Is there any way to avoid this?

can any one suggest

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Prabhakr,



Please follow the below link -


Attachment - Inbound Email Action


Use the script to exclude the attachment based on the size and type.



Regards, Bharat


View solution in original post

14 REPLIES 14

zica
Giga Guru

Hi Prabhkar,



It is possible to attach a custom signature per user to email templates.   You may can include the script below in your email notification.


script.



Let me know if this helps and do not hesitate for further info



<mail_script>
      template.print( gs.getProperty('global.signature') );
</mail_script>
Alternatively, you can expand on this by adding a signature field to sys_user records and expand the mail script to check current.assigned_to.u_signature and include this otherwise include the default.  
<mail_script>
var signature = '';
if( !current.assigned_to.u_signature.nil()){
  //use assigned to signature
  signature = current.assigned_to.u_signature;
}else{
      //use default signature
      signature = gs.getProperty('global.signature');
}
template.print(signature);
</mail_script>


Kind Regards,


ZA


Do not feel shy to mark correct or helpful answer if it helps or is correct


siddharth29
Mega Contributor

Hi Akb Zic,



As per the attachment the signature log attaching in to the email as attachement how to resolve this issue pls suggest.



Untitled.png


Community Alums
Not applicable

Hi Prabhakar,



you can create a BR   on sys_attachment table which triggers before insert and checks the size of the file and type and if it is less than the specified one then abort the insert.



Hope this will help.



Regards, Bharat


Hi Bharath,




As per the attachment the signature log attaching in to the email as attachement how to resolve this issue pls suggest.Untitled.png