[RCD] How to create a new letter by url?

A.L.E.C alec at alec.pl
Tue Jun 11 11:32:11 CEST 2019


On 6/11/19 11:23 AM, Vladimir Gorpenko wrote:
> Is there a hook that would allow me to intercept the processing of this call and replace,
> for example, the value of body with the text calculated from this value?
> 
> If there is no such hook, please give me an approximate location in the source code where
> I could add this hook.

You can use message_compose hook.
https://github.com/roundcube/roundcubemail/blob/master/program/steps/mail/compose.inc#L350

-- 
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer         [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com


More information about the dev mailing list