I have set an env variable and altered its value in JavaScript.. Now i need its value inside the plugin(.php).. How to retrieve it..
Thanks and Regards,
Pratik
You'd need to pass it to the php using a custom action http://trac.roundcube.net/wiki/Doc_Plugins#Customactions
I added this code in my plugin
rcmail->output->set_env('user_value', 'myvalue');
And on certain event i am changing the value in the javascript as:
rcmail.env.user_value = 'newvalue';
Now how to get this value inside my plugin(.php)..??
Found the solution..
Got the value through get_input_value
Thanks for help skaero