projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ba2ac
)
NotifySend.php
author
Alan Knowles
<alan@roojs.com>
Sat, 8 Oct 2011 03:35:38 +0000
(11:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 8 Oct 2011 03:35:38 +0000
(11:35 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
3e2151a
..
33e886a
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-197,9
+197,13
@@
class Pman_Core_NotifySend extends Pman
if ($res === true) {
// success....
+ $ev = $this->addEvent('NOTIFY', $w, 'SUCCESS: ' .$email['headers']['Subject']);
+
+
+
$w->sent = date('Y-m-d H:i:s');
$w->msgid = $email['headers']['Message-Id'];
- $w->event_id =
-1
; // sent ok.. - no need to record it..
+ $w->event_id =
$ev->id
; // sent ok.. - no need to record it..
$w->update($ww);
// enable cc in notify..