Mailer.php
authorAlan Knowles <alan@roojs.com>
Tue, 23 Sep 2014 06:35:35 +0000 (14:35 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 23 Sep 2014 06:35:35 +0000 (14:35 +0800)
Mailer.php

index de4252f..08b1421 100644 (file)
@@ -282,7 +282,7 @@ class Pman_Core_Mailer {
         ///$recipents = array($this->email);
         $mailOptions = PEAR::getStaticProperty('Mail','options');
         //print_R($mailOptions);exit;
-        $mail = Mail::factory("SMTP",$mailOptions);
+        $mail = Mail::factory($this->mail_method,$mailOptions);
         if ($this->debug) {
             $mail->debug = $this->debug;
         }