ITSM email notifications

Rajyalakshmi22
Tera Contributor

I want to change the color of the hyperlink in outbound notifications for that i have created a style tag. its working fine in outook however not working in Gmail.

 

<style>
a:link{ color: #00A59B; text-decoration: none; }

a:visited { color:#50009B; text-decoration: none; }
</style>

 

Can anyone please help me.

9 REPLIES 9

msd93
Kilo Sage

Try this:

<style>a:visited{color:#00A59B !important}</style>

 Hope this works.

I tried it hyperlink color is working .However for visited link color is not working in gmail.Please some one help me how to delcare inline or anyother styling to work in gmail.

 Unfortunately, Gmail and some other email clients often restrict styling for visited links for privacy and security reasons, which makes it challenging to apply custom styles to visited links in emails.

Also, the vlink CSS property, which is used to style visited links in web pages, is typically not supported in email clients, including Gmail.

 

May I know your use case to think of an alternative

Usecase:-

if case is opened one outbound email notification is sending to user/contact.

Notification contains links. client wants it to #00A59B color after clicking that link it should be turn into purple.

 

For this we make style it working fine for Outlook.However for gmail not working.

In that case may be you could justify that it works for outlook but not  for Gmail as Gmail restricts styling for visited links for privacy and security reasons.

If client urges that it should work on gmail as well, then probably try raising a hi case with servicenow support and seek their help.