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

index 143003b..454f601 100644 (file)
@@ -53,6 +53,8 @@ class Pman_Core_MessagePreview extends Pman
             $this->msg = (object)$t->$m('test@test.com', false, false, false);
             print_R($this->msg);
             $this->msg->subject = $this->msg->headers['Subject'];
+            $this->msg->from_email = $mlq->from_email;
+            $this->msg->from_name = $mlq->from_name;
             //$data->subject = $data['Subject;