Hi Stuart
On 2013-03-27, at 1:44 AM, Stuart Longland <[email protected]> wrote:
> Hi Francis,
> On 26/03/13 22:53, Francis Lachapelle wrote:
>> The easy path is to use sogo-tool :
>>
>> sogo-tool user-preferences set defaults francis SOGoMailSignature
>> '{"SOGoMailSignature": "Francis\nSOGo user"}'
>
> Ahh okay, and so the data you provide; that's JSON? That'd be simple
> enough to do by the looks of things.
>
> I take it that does plain-text, is there an equivalent for HTML or is
> that not supported in SOGo at this time?
Yes, the defaults are stored as JSON. You can define the signature as HTML as
well, but you'll probably want to make sure the SOGoMailComposeMessageType
parameter is set to "html":
sogo-tool user-preferences set defaults francis SOGoMailComposeMessageType
'{"SOGoMailComposeMessageType": "html"}'
>> But you could also customize the template of the preferences module
>> (UIxPreferences.wox) and add some JavaScript to offer a link that
>> would populate the signature field. There's an JavaScript variable
>> named "UserLogin" that has the current username.
>
> That has a certain appeal as well. I shall have to dig in and see what
> other things can be customised.
>
> Many thanks for your reply.
> Regards,
> --
> ## -,-''''-. ###### Stuart Longland, Software Engineer
> ##. : ## : ## 38b Douglas Street -+*WE HAVE*+-
> ## # ## -'` .#' Milton, QLD, 4064 --+*MOVED*+--
> '#' *' '-. *' http://www.vrt.com.au
> S Y S T E M S T: 07 3535 9619 F: 07 3535 9699
> --
> [email protected]
> https://inverse.ca/sogo/lists
--
[email protected] :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence
(http://packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists