[ Index ]

MailPress 7.1

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

title

Body

[close]

/mp-admin/includes/settings/connection_sendmail/ -> help.php (source)

   1  <?php // connection_sendmail
   2  
   3  $content .= '<table>';
   4  // sendmail
   5  
   6  $content .= '<tr><th>';
   7  $content .= sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://en.wikipedia.org/wiki/Sendmail', __( 'SendMail', 'MailPress' ) );
   8  $content .= '</th><td></td></tr>';
   9  
  10  if ( defined( 'SWIFT_ADDRESSENCODER' ) && 'utf8' == SWIFT_ADDRESSENCODER )
  11  {
  12  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  13  // SMTPUTF8
  14  $content .= '<tr><th><span>';
  15  $content .= '<code><b style="font-style: normal;">SMTPUTF8</b></code>';
  16  $content .= '</span></th><td>';
  17  $content .= sprintf( __( 'You have activated %1$s addon,  your SMTP server <span style="color:red;">MUST</span> support %2$s' ),
  18              sprintf( '<code><a href="%1$s" target="_blank">%2$s</a></code>', MailPress_addons, 'Connection_sendmail_SMTPUTF8' ),
  19              sprintf( '<code><a href="%1$s" target="_blank">%2$s</a></code>', 'https://en.wikipedia.org/wiki/Extended_SMTP#SMTPUTF8', 'SMTPUTF8' ) );
  20  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  21  }
  22  
  23  // Connect
  24  $content .= '<tr><th><span>';
  25  $content .= __( 'Connect', 'MailPress' );
  26  $content .= '</span></th><td>';
  27  $content .= sprintf( __( 'More about %1$s and Swiftmailer (php class used by MailPress) %2$s.', 'MailPress' ), 'SENDMAIL', sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'http://swiftmailer.org/docs/sending.html#the-sendmail-transport', __( 'here', 'MailPress' ) ) );
  28  $content .= '</td></tr>';
  29  
  30  $content .= '<tr><td colspan="2">';
  31  $content .= '<hr />';
  32  $content .= '</td></tr>';
  33  
  34  // go to test
  35  $content .= '<tr><th>';
  36  $content .= __( 'Test', 'MailPress' );
  37  $content .= '</th><td>';
  38  $content .= __( 'Once saved, try your settings using the Test tab', 'MailPress' );
  39  $content .= '</td></tr>';
  40  
  41  $content .= '<tr><td colspan="2">';
  42  $content .= '<hr />';
  43  $content .= '</td></tr>';
  44  $content .= '</table>';
  45  
  46  // other protocols
  47  $content .= '<p>';
  48  $content .= sprintf( __('MailPress supports two other protocols : %1$s and SMTP (deactivate add-on : %2$s)', 'MailPress'), sprintf( '<a href="%1$s" target="_blank">%2$s</a>', MailPress_addons . '#MailPress_connection_php_mail', 'PHP_MAIL' ), sprintf( '<a href="%1$s" target="_blank">%2$s</a>', MailPress_addons . '#MailPress_connection_sendmail', 'SENDMAIL' ) );
  49  $content .= '</p>';


Generated: Mon Mar 11 18:33:33 2019 Cross-referenced by PHPXref 0.7.1