Mailer.php
authorChris <chris@roojs.com>
Thu, 14 Nov 2013 10:46:23 +0000 (18:46 +0800)
committerChris <chris@roojs.com>
Thu, 14 Nov 2013 10:46:23 +0000 (18:46 +0800)
Mailer.php

index b00ed37..5303a1f 100644 (file)
@@ -222,7 +222,7 @@ class Pman_Core_Mailer {
             }
             $mime->setTXTBody($parts[2]);
             foreach($this->attachments as $attch){
-                $mine->addAttachment(
+                $mime->addAttachment(
                         $attch['file'],
                         $attch['mimetype'],
                         $attch['name']