[Tickets #10487] Re: HTML/Text Signature

noreply at bugs.horde.org noreply at bugs.horde.org
Thu May 7 11:32:48 UTC 2015


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/10487
------------------------------------------------------------------------------
  Ticket             | 10487
  Updated By         | jsveiga at it.eng.br
  Summary            | HTML/Text Signature
  Queue              | IMP
  Version            | Git master
  Type               | Enhancement
  State              | Resolved
  Priority           | 1. Low
  Milestone          | 5,1
  Patch              |
  Owners             | Horde Developers, Michael Slusarz
+New Attachment     | sig-before.zip
------------------------------------------------------------------------------


jsveiga at it.eng.br (2015-05-07 11:32) wrote:

I know this is kinda religious dogma, and that this is an old bug  
discussion, but I got here googling for "IMP signature before quoted  
text", so if someone gets here too, I just migrated from OpenWebmail  
to Horde, and my users wanted the signature in the proper place (I had  
added this feature in OWM, which we have used for 10+ years).

So here's a simple hack to place the email signature BEFORE the quoted  
text, IN THE COMPOSE EDITOR (not hidden), as a SELECTABLE OPTION on  
the prefs page (I'm using IMP 6.2.2, installed on Debian Jessie).

One file is a patch to be applied on /usr/share/horde/imp/lib, modifies:
lib/Basic/Compose.php
lib/Compose.php
lib/Dynamic/Compose/Common.php
lib/Dynamic/Compose.php

The other is placed in /etc/horde/imp/prefs.d, to add the option in  
the prefs page (note that if you have other custom prefs "identities",  
it has to be edited to include them, as it overrides the  
['identities']['members']

It's been in production use here for about a week. Comments, fixes welcome.



jsveiga at it.eng.br (2015-05-07 11:32) uploaded: sig-before.zip

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=sig-before.zip&ticket=10487&fn=%2Fsig-before.zip





More information about the bugs mailing list