Author Topic: sound notifier and url of last received mail  (Read 2685 times)

Offline fxlacroix

  • Newbie
  • *
  • Posts: 7
sound notifier and url of last received mail
« on: September 06, 2010, 08:30:38 AM »
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 !!

Offline fxlacroix

  • Newbie
  • *
  • Posts: 7
sound notifier and url of last received mail
« Reply #1 on: September 06, 2010, 09:47:15 AM »
i just found it in the rcmail variable, in client javascript

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

++

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
sound notifier and url of last received mail
« Reply #2 on: September 06, 2010, 11:31:27 AM »
Please post your modifications. Perhaps it would make sense to include them into my plugin.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)