[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/class/ -> MP_Swift_Connection_spool.class.php (source)

   1  <?php
   2  class MP_Swift_Connection_spool extends MP_Swift_connection_
   3  {
   4      public $Swift_Connection_type = 'spool';
   5  
   6  	function connect( $mail_id, $y )
   7      {
   8  
   9          $spool_path = 'spool/' . get_current_blog_id() . '/';
  10  
  11          $p = MailPress_batch_spool_send::is_path( MP_UPL_ABSPATH . $spool_path . $mail_id ); 
  12  
  13          $y->log( "**** Spool path is : $p ****" );
  14  
  15          $spool =  new Swift_FileSpool( $p );
  16  
  17          return new Swift_SpoolTransport( $spool );
  18      }
  19  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1