Plugin API: Added message_saved hook (#1489752)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Plugin API: Added message_saved hook (#1489752) |
| | | - Support messages import from zip archives |
| | | - Zipdownload: Added mbox format support (#1486069) |
| | | - Drop support for IE6, move IE7/IE8 support to legacy_browser plugin |
| | |
| | | if ($saved) { |
| | | // increase messagecount of the target folder |
| | | $this->set_messagecount($folder, 'ALL', 1); |
| | | |
| | | rcube::get_instance()->plugins->exec_hook('message_saved', array( |
| | | 'folder' => $folder, |
| | | 'message' => $message, |
| | | 'headers' => $headers, |
| | | 'is_file' => $is_file, |
| | | 'flags' => $flags, |
| | | 'date' => $date, |
| | | 'binary' => $binary, |
| | | 'result' => $saved, |
| | | )); |
| | | } |
| | | |
| | | return $saved; |