Mailer.php
authorEdward <edward@roojs.com>
Tue, 19 Feb 2019 09:16:57 +0000 (17:16 +0800)
committerEdward <edward@roojs.com>
Tue, 19 Feb 2019 09:16:57 +0000 (17:16 +0800)
Mailer.php

index 971dd19..bfa1acb 100644 (file)
@@ -604,6 +604,10 @@ class Pman_Core_Mailer {
         $mt = $a->getResponseHeader('Content-Type');
         print_r($mt);
         echo "\n";
+        
+        if($mt == 'text/html; charset=UTF-8') {
+            print_R($data);
+        }
         require_once 'File/MimeType.php';
         $m  = new File_MimeType();
         $ext = $m->toExt($mt);