Roundcube Community Forum

 

sound notifier and url of last received mail

Started by fxlacroix, September 06, 2010, 08:30:38 AM

Previous topic - Next topic

fxlacroix

Hi

i m using the soundnotifier and i would like to send to another application the url of the last incoming mail.

i know the url should look like
?_task=mail&_action=show&_uid=28&_mbox=INBOX

but don't know how to get this id (28)

thx for your help !!

fxlacroix

i just found it in the rcmail variable, in client javascript

rcmail.message_list.rows <- get the last rows and find uid

++

rosali

Please post your modifications. Perhaps it would make sense to include them into my plugin.
Regards,
Rosali