Infos:
- Used Zammad version: 3.1.0
When we reply to emails, we want the following “syntax” for the email:
- Personal greeting
- individual response
- agent’s signature
- quote header
- full quote of the original email/conversation
To reach this goal, we configured zammad as follows:
- activate “full quote” and “quote header” in every agent’s reply-settings
- set a signature to mail channel, like this:
Hallo #{ticket.customer.firstname} #{ticket.customer.lastname},
Mit freundlichen Grüßen
#{user.firstname} #{user.lastname}
#{user.department}
---- snip ---- (rest signature)
Once configured, that’s working quite well.
But… (and now I’m coming to the point): since some months/versions, there is always one empty line at the very top of the email. Even above the greeting.
And on every single email reply, we have to do this little finger dance to kill this annoying first empty line…
I think this was an “improvement” in zammad some versions ago, someone thought “okay, above the signature, there must always be an empty line”.
Hmm, not in my case.
And I think there was no need to hardcode this, because if someone needs a empty line in (or above) their signature, he can add it to the signature itself.
To help myself, I looked in the code , and found this line .
On my server, I edited /opt/zammad/app/asse......ion/email_reply.coffee
and commented that line out - but unfortunately, it doesn’t change anything.
Our “starting empty line” is still here, in every single “compose reply”.
Even after restarting zammad service, and browser reload.
That’s why I wrote my story here, in hope someone knows how to improve/finish my hack (knowing I have to repeat it after every zammad update ), or maybe someone from the zammad team reads this and thinks again whether this body.prepend('<br>')
needs to be hardcoded - and maybe let the admin decide himself to include an starting empty line to his signature or not.
Thanks!
Christoph