summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-21 10:51:09 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-21 10:51:09 +0100
commitf13ae32aec218ce0d91fa941f96e8e092fafd6bd (patch)
treea03c9525afd43ef6ed8b82b45c10b88ec1c224c7 /program/lib/Roundcube
parent978ff8794fb012939a0bda5c8231f007ee40217f (diff)
parentaef6ed4702ce50e7eb67b73a380e0b91c1f3376c (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
index 399f84fd8..e0fa22c3c 100644
--- a/program/lib/Roundcube/rcube.php
+++ b/program/lib/Roundcube/rcube.php
@@ -1537,6 +1537,10 @@ class rcube
!empty($response) ? join('; ', $response) : ''));
}
}
+ else {
+ // allow plugins to catch sending errors with the same parameters as in 'message_before_send'
+ $this->plugins->exec_hook('message_send_error', $plugin + array('error' => $error));
+ }
if (is_resource($msg_body)) {
fclose($msg_body);