Changing Email Link Color
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 10:31 AM
Hi,
I am trying to change the email link for an email layout so that it doesn't automatically default to blue. I think Outlook is trying to be helpful and make it so that the email appears as a blue link instead. I am trying to modify that email link to just show up as white and still have the clickable action to compose an email once its clicked. I thought that adding the hexidecimal code for white in the HTML source code would resolve the issue and override the default way Outlook does it, but it didn't work upon testing. Any ideas on how to workaround this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 07:37 PM
I could be wrong, but I recall something that email and mail providers disabling a lot of formatting around links to avoid exploiting recipients.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 08:14 PM
Hi @davibow ,
Hope you are doing great.
You can write an email script to achive the same.
please find below code for the same
var body = 'Click <a href="https://example.com" style="color: #FF0000">here</a> to visit our website.'; // Replace "https://example.com" with your hyperlink and "#FF0000" with your desired color code
gs.eventQueue('email.send', current, 'sender@example.com', 'subject', body, null, null, 'email.template_name');
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Amit Gujarathi
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi