Changing Font Color of Mailto email template link

voic
Giga Expert

Hi,

Was wondering if someone can assist.

On approval request notifications where there is an Approve or Reject Mailto Email Template links, they come up in the approval notification that looks like hyperlinks.

Is it possible to change the font color?

I have tried with plain HTML but it seems that it does not work.

<font size="3" style="color:green"> ${mailto:mailto.approval} </font>

<font size="3" style="color:red"> ${mailto:mailto.reject} </font>

Has anyone come across this requirement or something similar?

thanks!

Carlito

14 REPLIES 14

Deepak Ingale1
Mega Sage

I think you will need to modify mailto.approval and mailto.reject template itself rather than adding a   html tag just before a jexl expression ${mailto:mailto:approval}



One more thing, I am not HTML expert but I sens <font> is not an HTML tag ( I may be wrong)


But I am definitely sure that <style> is an HTML tag you should give a try.


<style> tag contains font attribute and other formatting attributes like color and background color and padding etc.


arpitt
Tera Expert

I Hope this helps.



CSS Styling Links



Regards,


Arpit Taneja


bernyalvarado
Mega Sage

Hi Carlito, that code that you added there should work! And just to make sure I also tried it myself on a couple of ways that i know how to set the color through the font tag:



<html>


<font size="3" style="color:red">Red</font>


<font size="3" color="red">Red</font>


</html>



Perhaps something else is not right in your code. Would you mind sharing the complete notification body?



Thanks,


Berny


Here goes the result of the code I added above:


TestHTMLColor.jpg


Thanks,


Berny