Has anyone managed to get HTML formatting to work on Calendar Invites?

awright
Kilo Expert

When we make Meeting Invitation type emails, we would like to be able to put HTML formatting into the text that comes through in the description, but servicenow always sets the message type to "text/calendar", meaning that HTML formatting for the description goes out the window. (I have tried using altrep on our calendar template but to no avail.

 

I was thinking maybe that we should try and send these as multipart/mixed email notifications and set the content type in HTML before each part, but I am not certain it is the best way of going about it.

 

Has anyone managed to get HTML formatting to work on Calendar Invites?

1 ACCEPTED SOLUTION

awright
Kilo Expert

Hi, sorry if this is a little late.



What we ended up doing was adding in "X-ALT-DESC;FMTTYPE=text/html:" as an alternative description (ALTREP didn't seem to do anything useful), then formatted the HTML string to all fit on to a single line.



An additional thing to watch for is to make sure that the original plain text Description has no HTML tags in it for users that use plaintext only (though all plaintext things like ipads seem to do is interpret the HTML version anyway).


View solution in original post

11 REPLIES 11

Were you able to figure this out? i would like to include a html version that has a few variables and formatted text...

is there a way to add some variables?