how can add company logo in email actions(outbound action)

snajaykumar1234
Kilo Expert

when ever send a mail to   user that time company logo also attached that page. How can i do?

Thanka

sanjay N

1 ACCEPTED SOLUTION

Mihir Mohanta
Kilo Sage

Open the notification you have customized for this.Insert an image logo in the notification by clicking on insert image icon of Message HTML field like below image



find_real_file.png



Note : Select the content type field as HTML only. And try this in Advanced view of the notification.


View solution in original post

8 REPLIES 8

Rajesh Mushke
Mega Sage
Mega Sage

Hi Sanjay,



Please Rerfer



http://wiki.servicenow.com/index.php?title=Email_Notifications#Attaching_Documents_to_a_Notification


7 Attaching Documents to a Notification

You can include all attachments from the source record with the notification. For example, if an incident update generates a notification, you can include all attachments from the incident record with the notification. To include all attachments from the source record, select the check box for the Include attachments field. Note that email messages, including attachments, cannot exceed the maximum email size or email attachment limits. This size includes MIME encoding, which increases total attachment size by approximately 37%.


7.1 Attaching Documents with Scripting

Using scripting, you can attach documents by linking to them, or you can attach various types of reports by specifying their IDs in the system.


7.2 Linking to an Attachment

You can add attachments to a notification by linking to the attachment record in the message of the notification. Linking to attachment records in this fashion requires using email notification scripting. For example:


template.print('Attachment: <a href="/sys_attachment.do?sys_id=' + gr.sys_id + '">' + gr.file_name + '</a>\n'); 




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sanjay,



Go to Images under system and search for name contains logo and then pick the html tag and include that in email script



example:


<img src="logo_service-now.gif" width="226" height="38"/>



http://wiki.servicenow.com/index.php?title=Email_Notifications#Adding_Images_to_Email_Notifications&... http://wiki.servicenow.com/index.php?title=Email_Notifications#Adding_Images_to_Email_Notifications&...




Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Mihir Mohanta
Kilo Sage

Open the notification you have customized for this.Insert an image logo in the notification by clicking on insert image icon of Message HTML field like below image



find_real_file.png



Note : Select the content type field as HTML only. And try this in Advanced view of the notification.


Hi Mihar,



I have a another doubt, how can restrict domain in inbound email notification.



ex:


my company name : Test



i want get emails form only @test.com.. Not @gmail.com




Thanks


Sanjay