projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
357849f
)
MessagePreview.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:45:42 +0000
(16:45 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:45:42 +0000
(16:45 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
03354d7
..
8ecbca8
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-93,12
+93,10
@@
class Pman_Core_MessagePreview extends Pman
$sent = $this->send($content);
- if(
!
is_object($sent)){
- $this->j
ok('SUCCESS'
);
+ if(is_object($sent)){
+ $this->j
err("Error sending email - " . $sent->toString()
);
}
- $this->jerr('error!!:' . $sent->toString());
-
-
+ $this->jok('SUCCESS');
}
}