[ Index ]

MailPress 7.2

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

title

Body

[close]

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

   1  <?php
   2  class MP_Swift_Connection_sendmail extends MP_Swift_connection_
   3  {
   4      public $Swift_Connection_type = 'SENDMAIL';
   5  
   6  	function connect( $mail_id, $y )
   7      {
   8          $settings = get_option( MailPress::option_name_sendmail );
   9  
  10          switch ( $settings['cmd'] )
  11          {
  12              case 'custom' :
  13                  $conn = new Swift_SendmailTransport( $settings['custom'] );
  14              break;
  15              default :
  16                  $conn = new Swift_SendmailTransport();
  17              break;
  18          }
  19          return $conn;
  20      }
  21  }


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