
Public Member Functions | |
| __construct () | |
Protected Attributes | |
| $Mailer = '' | |
Private Member Functions | |
| getCfg ($property) | |
| configureHtmlMimeMail5 () | |
Private Attributes | |
| $config = null | |
| $body = '' | |
Definition at line 3 of file aliroMailer.php.
| aliroMailer::__construct | ( | ) |
Definition at line 8 of file aliroMailer.php.
References configureHtmlMimeMail5().
00008 { 00009 parent::__construct(); 00010 $this->configureHtmlMimeMail5 (); 00011 }
| aliroMailer::getCfg | ( | $ | property | ) | [private] |
Definition at line 13 of file aliroMailer.php.
References $config, and aliroCore::getInstance().
Referenced by configureHtmlMimeMail5().
00013 { 00014 static $config = null; 00015 if (null === $config) $config = aliroCore::getInstance(); 00016 return $config->getCfg($property); 00017 }
| aliroMailer::configureHtmlMimeMail5 | ( | ) | [private] |
Definition at line 19 of file aliroMailer.php.
References $config, getCfg(), and aliroCore::getInstance().
Referenced by __construct().
00019 { 00020 $this->setTextCharset(substr_replace(_ISO, '', 0, 8)); 00021 $this->Mailer = $this->getCfg('mailer'); 00022 $sendmail = $this->getCfg('sendmail'); 00023 // Add smtp values if needed 00024 if ($this->Mailer == 'smtp') { 00025 $config = aliroCore::getInstance(); 00026 $auth = $config->getCfg('smtpauth'); 00027 $user = $config->getCfg('smtpuser'); 00028 $pass = $config->getCfg('smtppass'); 00029 $host = $config->getCfg('smtphost'); 00030 $port = null; 00031 $helo = null; 00032 $this->setSMTPParams($host, $port, $helo, $auth, $user, $pass); 00033 } 00034 // Set sendmail path 00035 elseif ($this->Mailer == 'sendmail' AND $sendmail) $this->setSendmailPath($sendmail); 00036 }
aliroMailer::$Mailer = '' [protected] |
Definition at line 4 of file aliroMailer.php.
aliroMailer::$config = null [private] |
Definition at line 5 of file aliroMailer.php.
Referenced by mosMailer::__construct(), configureHtmlMimeMail5(), and getCfg().
aliroMailer::$body = '' [private] |
1.5.5