summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-14 18:54:24 +0000
committerthomascube <thomas@roundcube.net>2011-08-14 18:54:24 +0000
commit782d8593bd8cc511483e959519f84a389aee131f (patch)
tree50870e07427005983418330168b01bae4fcb0f88 /program/steps/mail
parent84ae7d55b52b6172ef7a25eabd1132ed2293ebe2 (diff)
More unique error codes
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc2
-rw-r--r--program/steps/mail/sendmail.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index ff9a60c85..b04628fa4 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -586,7 +586,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces)
if ($preg_error == PREG_RECURSION_LIMIT_ERROR)
$errstr .= " Consider raising pcre.recursion_limit!";
- raise_error(array('code' => 600, 'type' => 'php',
+ raise_error(array('code' => 620, 'type' => 'php',
'line' => __LINE__, 'file' => __FILE__,
'message' => $errstr), true, false);
return '';
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 0b6f49f72..aee498221 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -674,7 +674,7 @@ if ($store_target)
}
if (PEAR::isError($msg))
- raise_error(array('code' => 600, 'type' => 'php',
+ raise_error(array('code' => 650, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Could not create message: ".$msg->getMessage()),
TRUE, FALSE);