On 07.02.2011 23:14, Julien Vehent wrote:

rcube_imap must know what headers do you expect.

> // get dspam signature header (%s macro)
> if(preg_match("/%s/",$command)){

$RCMAIL->imap->fetch_add_headers .= ' x-dspam-signature';

>      $MESSAGE = new rcube_message($uid);
>      $dspam_signature = $MESSAGE->get_header('x-dspam-signature');

or set 'fetch_headers' variable of imap_init hook. See
show_additional_headers plugin.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd

Reply via email to