[ Index ] |
MailPress 7.2 |
[ Index ] [ Classes ] [ Functions ] [ Variables ] [ Constants ] [ Statistics ] |
[Summary view] [Print] [Text view]
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 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue May 19 15:55:14 2020 | Cross-referenced by PHPXref 0.7.1 |