projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1c3ddb
)
NotifySend.php
author
edward
<edward@roojs.com>
Thu, 10 Nov 2016 09:08:53 +0000
(17:08 +0800)
committer
edward
<edward@roojs.com>
Thu, 10 Nov 2016 09:08:53 +0000
(17:08 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
033d453
..
6fc7f24
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-26,6
+26,8
@@
require_once 'Pman.php';
* Mail[helo] << helo host name
* Mail[socket_options] << any socket option.
*/
* Mail[helo] << helo host name
* Mail[socket_options] << any socket option.
*/
+Pman_Core_NotifySend_Exception_Success extends Exception {}
+Pman_Core_NotifySend_Exception_Fail extends Exception {}
class Pman_Core_NotifySend extends Pman
class Pman_Core_NotifySend extends Pman
@@
-647,9
+649,10
@@
class Pman_Core_NotifySend extends Pman
$this->debug_str .= $message;
}
$this->debug_str .= $message;
}
- function errorHandler($msg)
+ function errorHandler($msg
, $success = false
)
{
if($this->error_handler == 'exception'){
{
if($this->error_handler == 'exception'){
+ if()
throw new Exception($msg);
}
throw new Exception($msg);
}