components/PhpMailer.php
function addr_append($type, $addr) {
      $addr_str = "";
      $addr_str .= sprintf("%s: %s <%s>", $type, $addr[0][1], $addr[0][0]);
      if(count($addr) > 1)
      {
         for($i = 1; $i < count($addr); $i++)
         {
            $addr_str .= sprintf(", %s <%s>", $addr[$i][1], $addr[$i][0]);
         }
         $addr_str .= "\r\n";
      }
      else
         $addr_str .= "\r\n";

      return($addr_str);
   }
function addr_append($type, $addr) {
      $addr_str = "";
      $addr_str .= sprintf("%s: %s <%s>", $type, $addr[0][1], $addr[0][0]);
      if(count($addr) > 1)
      {
         for($i = 1; $i < count($addr); $i++)
         {
            $addr_str .= sprintf(", %s <%s>", $addr[$i][1], $addr[$i][0]);
         }
         $addr_str .= "\r\n";
      }
      else
         $addr_str .= "\r\n";

      return($addr_str);
   }
function addr_append ( $ type , $ addr ) { $ addr_str = "" ; $ addr_str .= sprintf ( "%s: %s <%s>" , $ type , $ addr [ 0 ] [ 1 ] , $ addr [ 0 ] [ 0 ] ) ; if ( count ( $ addr ) > 1 ) { for ( $ i = 1 ; $ i < count ( $ addr ) ; $ i ++ ) { $ addr_str .= sprintf ( ", %s <%s>" , $ addr [ $ i ] [ 1 ] , $ addr [ $ i ] [ 0 ] ) ; } $ addr_str .= "\r\n" ; } else $ addr_str .= "\r\n" ; return ( $ addr_str ) ; }
Creates recipient headers.  Returns string.
@private
@returns string
Creates recipient headers . Returns string .