Text/plain Email Notification

vbansal
Kilo Explorer

Hi,

I want to send an Email Notification within a Workflow in plain text only. I implemented a new event name --> System Policy/Events Regitry. I also created an Email Notification in System Notification. In slide "When to send" I set "Send When" to "Event is fired" and linked the event I created before. In slide "What it will contain" I set the Content Type to "Plain text only".

Now in the workflow I used the activity "Create Event" and linked the event name followed by the next activity "notification" with receiver, subject and body.

Somehow when notification is sent, the mail is still in HTML format. How do I solve this problem or what is the right method to send a notification in text/plain mode?

Best Regards

Vivek

9 REPLIES 9

saprem_d
Giga Guru

Hi,



Using plain text always sends email in plain. May be your mailbox is converting test in html. Could you please check in the email logs and verify that the content type is correct.


Hi Saprem,



well in email logs I found Content Type text/html. Where can I check if mailbox is converting text in html? Is there some setting to be changed somewhere?



Vivek


corina
ServiceNow Employee
ServiceNow Employee

Hello Vivek.



I assume you are doing this:


How to send Notification from Workflow in Plain text



"Somehow when notification is sent, the mail is still in HTML format."   - where exactly you see this? In the recipient mail client, email logs etc


Hello Corinna,



yes, I followed this link.


I am testiing on our test system. I sent one copy of the mail to myself. When I open one received email the body content always starts with <html>. Content type is text/html.



Vivek