MessagePreview.php
authorAlan <alan@roojs.com>
Thu, 29 Sep 2022 07:46:10 +0000 (15:46 +0800)
committerAlan <alan@roojs.com>
Thu, 29 Sep 2022 07:46:10 +0000 (15:46 +0800)
MessagePreview.php

index a21e804..90b207c 100644 (file)
@@ -51,8 +51,8 @@ class Pman_Core_MessagePreview extends Pman
             }
             $m = 'notify'.$_REQUEST['evtype'];
             $this->msg = (object)$t->$m('test@test.com', false, false, false);
-            print_R($this->msg);
-            
+         //   print_R($this->msg);
+            $this->msg->subject = $this->msg->headers['Subject'];
             //$data->subject = $data['Subject;