If your plugin works outside of the mail section, you¹ll need to connect to
IMAP first. Something like this:

$rcmail = rcmail::get_instance();
$rcmail->imap_connect();

Regards

Marcus


> I'm trying to let my plugin delete messages. I've read move_del.inc and tried
> to recreate it in my plugin by using
> $this->IMAP->delete_message($_GET['_uid'], $_GET['_mbox']); and different
> varieties of it with no success. I figured I could do an ajax call with the
> required postdata (_mbox, _uid etc) but I would really love having it work on
> php level to expand my Roundcube knowledge.
> 
> If somebody could please point me in the right direction it'd be greatly
> appreciated.
> 
> 
> _______________________________________________
> List info: http://lists.roundcube.net/dev/


_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to