Email Client Templates with "javascript:" tags on the To, CC, BCC or Subject are not supportedDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } body.c5 {height: 100%;} td.c4 {vertical-align: middle; text-align: left;} td.c3 {width: 50; vertical-align: middle; text-align: center;} img.c2 {align: baseline;} hr.c1 {border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc;} --> Email Client Templates with "javascript:" tags on the To, CC, BCC or Subject are not supported Problem You can create a different template for each table that uses the email client. Email client templates allows to use email scripts and variable substitution to complete the fields available on the template. However, if using a javascript:xxx tag, it gets executed on the email client as javascript. Symptoms While javascript:xxx tags work when used on the To, CC, BCC and Subject fields, it is not consistent and it could cause incorrect results. This problem is recognized, on the Email template, To, CC, BCC or subject fields contains a string starting with javascript:. For example: current.caller_id.email + ; + current.assigned_to.email Note: This code does not work with more than one email. On the result email sent, the recipients look like recipient1;recipient2; which is incorrect instead of recipient1,recipient2; which is correct. The error string shows Error SMTPSender: no recipients, email send ignored Cause javascript:xxxx tags are executed on the browser and it depends on the javascript variables loaded at the time this is executed. Our development team has not tested nor considers this use case so the results are unexpected. In most cases, the problem is the the script evaluates after the client is loaded, and the result is not parsed correctly as a static string would do. Resolution Replace the javascript tags with static text on To, CC, BCC. On the Subject, use variable substitution. On the Body, mail scripts can also be used. Note: Email Scripts are not able to modify the email object as it does not exist at the time the Email client executes. This mean that functions like email.addAddress, cc, xxxx do not work on email client scripts.