JS not executed
’m trying to add a javascript code into HTML of an email treatment rule. I tried adding the code in a section/paragraph and add that rule into the email treatment rule. Also tried add the code directly into the email treatment with the tags <script>javascriptcode</script> but apparently the javascript is not being executed. I also tried add the code into a text file and reference it into the email treatment like this <script type="text/javascript" src="webwb/TexFileName.js"></script> and didn’t work. Im Using Pega 8.5.2. Does anyone know how can I accomplish this?
@GinethS3 email clients flush out any kind of script from emails. It is not possible to send JS in email and even if it was all corporate security softwares will flag the emails as dangerous/malicious. What usecase are you trying to address?