Hi,If you use a typologie rule which consider the content of your
delivery text content, you will able to add your script in this
content.//script in your rulevar txtStr =
delivery.content.text.source;delivery.content.text.source = '<%
document.write(delivery.mailParameters.subject); %>' + txtStr;Return
true;I don't know if your Javascript don't work in the text context but,
it's ok in the html context.This answer can help you ?Christophe