On 04/18/2013 01:09 PM, Daniel Böhmer wrote:
> The message ID as found in the header of the message.

in plugin init():

$this->add_hook('message_headers_output', array($this, 'headers'));

and headers() method could look like:

function headers($args)
{
    $rcmail = rcube::get_instance();
    $rcmail->output->set_env('messageid',
$args['headers']->get('message-id'));
}

and now in javascript you can use rcmail.env.messageid variable.

-- 
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
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to