Automatic citation
Many email programs are set up so that, when responding to an email, this email is automatically quoted, i.e. an indentation and marking becomes part of the reply.
You also have this option in todo4teams: Please consider the tutorial for thisĀ Personalize the email footer using the user properties for more details of the possibilities.
Please use the placeholder {quote} to quote an email of the customer within the email response dialog.
Insert above for example "Your message: " to make the quote recognizable, in HTML-Code ie in this way:
<hr>
{quote}
...Footer...
While answering the email the following text will appear in the email response dialog:
If you want to use the footer in an auto reply email you should remove the mark {quote} from the text - or evaluate the expression before setting the footer in the reply:
var footer = task.source.sourcemailbox.footer;
var map = new java.util.HashMap();
map.put("task", task);
footer = new com.proxemo.xutl.misc.XUTLExpressionEvaluator(footer, map).evaluate();
//...
helper.sendmail(task.source.sourcemailbox.emailAddress, "Re: "+message.getSubject()+" (ID: "+id+")", replyText + footer, toEmail, null, null, null, true);
This will remove the {quote} from the footer and allows you to use placeholders like {task.subject}, {task.id}.