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.