diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php index ef81c5c25..3694c5c4b 100644 --- a/program/lib/Roundcube/rcube.php +++ b/program/lib/Roundcube/rcube.php @@ -1661,7 +1661,7 @@ class rcube $this->plugins->exec_hook('message_send_error', $plugin + array('error' => $error)); } else { - $this->plugins->exec_hook('message_sent', array('headers' => $headers, 'body' => $msg_body)); + $this->plugins->exec_hook('message_sent', array('headers' => $headers, 'body' => $msg_body, 'message' => $message)); // remove MDN headers after sending unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']);