Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 19. apríl 2024

Rozdiely pre Metafox/lib/Mail.php medzi verziami 1.4 a 1.5

verzia 1.4, 2011/11/22 16:06:58 verzia 1.5, 2015/11/24 17:21:06
Riadok 71  class Mail
Riadok 71  class Mail
      * @return object Mail a instance of the driver class or if fails a PEAR Error       * @return object Mail a instance of the driver class or if fails a PEAR Error
      * @access public       * @access public
      */       */
     function &factory($driver, $params = array())      public static function &factory($driver, $params = array())
     {      {
         $driver = strtolower($driver);          $driver = strtolower($driver);
         @include_once 'Mail/' . $driver . '.php';          @include_once 'Mail/' . $driver . '.php';
Riadok 250  class Mail
Riadok 250  class Mail
         // Parse recipients, leaving out all personal info. This is          // Parse recipients, leaving out all personal info. This is
         // for smtp recipients, etc. All relevant personal information          // for smtp recipients, etc. All relevant personal information
         // should already be in the headers.          // should already be in the headers.
         $addresses = Mail_RFC822::parseAddressList($recipients, 'localhost', false);                  $obj_mail_rfc822 = new Mail_RFC822($recipients, 'localhost', false);
           $addresses = $obj_mail_rfc822->parseAddressList($recipients, 'localhost', false);
   
         // If parseAddressList() returned a PEAR_Error object, just return it.          // If parseAddressList() returned a PEAR_Error object, just return it.
         if (is_a($addresses, 'PEAR_Error')) {          if (is_a($addresses, 'PEAR_Error')) {

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok