DataObjects/Person.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:33:20 +0000 (20:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:33:20 +0000 (20:33 +0800)
DataObjects/Person.php

index b211cf8..5f2984f 100644 (file)
@@ -142,10 +142,11 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         
         if ($htmlbody !== false) {
             $mime = new Mail_mime(array('eol' => "\n"));
+            $mime->setHeaders($headers);
             $mime->setTXTBody($body);
             $mime->setHTMLBody($htmlbody);
             // I think there might be code in mediaoutreach toEmail somewhere
-            // that embeds images here..
+            // h embeds images here..
             $body = $mime->get();
             $hdrs = $mime->headers($hdrs);