PHP Class markasjunk2, Roundcube-Plugin-Mark-as-Junk-2

Sample plugin that adds a new button to the mailbox toolbar to mark the selected messages as Junk and move them to the Junk folder or to move messages in the Junk folder to the inbox - moving only the attachment if it is a Spamassassin spam report email
Author: Philip Weir Based on the Markasjunk plugin by Thomas Bruederli
Inheritance: extends rcube_plugin
Show file Open project: JohnDoh/Roundcube-Plugin-Mark-as-Junk-2

Public Properties

Property Type Description
$task

Public Methods

Method Description
init ( )
mark_message ( )
set_flags ( $p )

Private Methods

Method Description
_call_driver ( $action, &$uids = null, $mbox = null )
_ham ( &$messageset, $dest_mbox = NULL )
_messageset_to_uids ( $messageset, $multi_folder )
_set_toolbar_display ( $display, $action )
_spam ( &$messageset, $dest_mbox = NULL )

Method Details

init() public method

public init ( )

mark_message() public method

public mark_message ( )

set_flags() public method

public set_flags ( $p )

Property Details

$task public property

public $task