[ Index ]

MailPress 7.1

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

title

Body

[close]

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

   1  <?php // connection_smtp
   2  
   3  $content .= '<table>';
   4  // SMTP
   5  
   6  $content .= '<tr><th>';
   7  $content .= sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol', 'SMTP' );
   8  $content .= '</th><td>';
   9  
  10  $content .= '</td></tr>';
  11  
  12  if ( defined( 'SWIFT_ADDRESSENCODER' ) && 'utf8' == SWIFT_ADDRESSENCODER )
  13  {
  14  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  15  // SMTPUTF8
  16  $content .= '<tr><th><span>';
  17  $content .= '<code><b style="font-style: normal;">SMTPUTF8</b></code>';
  18  $content .= '</span></th><td>';
  19  $content .= sprintf( __( 'You have activated %1$s addon,  your SMTP server <span style="color:red;">MUST</span> support %2$s' ),
  20              sprintf( '<code><a href="%1$s" target="_blank">%2$s</a></code>', MailPress_addons, 'Connection_smtp_SMTPUTF8' ),
  21              sprintf( '<code><a href="%1$s" target="_blank">%2$s</a></code>', 'https://en.wikipedia.org/wiki/Extended_SMTP#SMTPUTF8', 'SMTPUTF8' ) );
  22  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  23  }
  24  
  25  // SMTP Server
  26  $content .= '<tr><th><span>';
  27  $content .= __( 'Server', 'MailPress' );
  28  $content .= '</span></th><td>';
  29  $content .= __( 'Your SMTP server (e.g. <code>smtp.gmail.com</code>).', 'MailPress' );
  30  $content .= '</td></tr>';
  31  
  32  // Username/Password
  33  $content .= '<tr><th><span>';
  34  $content .= __( 'Authentication', 'MailPress' );
  35  $content .= '</span></th><td>';
  36  $content .= __( 'Some servers require authentication. Provide username and password if necessary.', 'MailPress' );
  37  $content .= '</td></tr>';
  38  
  39  // Encryption
  40  $content .= '<tr><th><span>';
  41  $content .= __( 'Encryption', 'MailPress' );
  42  $content .= '</span></th><td>';
  43  $content .= __( 'You can use SSL or TLS encryption if required by your SMTP server.', 'MailPress' );
  44  $content .= '</td></tr>';
  45  
  46  // Port
  47  $content .= '<tr><th><span>';
  48  $content .= __( 'Port', 'MailPress' );
  49  $content .= '</span></th><td>';
  50  $content .= __( 'port number (default 25, Gmail 465, other ...).', 'MailPress' );
  51  $content .= '</td></tr>';
  52  
  53  // Pop before Smtp
  54  $content .= '<tr><th><span>';
  55  $content .= __( 'Pop before Smtp', 'MailPress' );
  56  $content .= '</span></th><td>';
  57  $content .= sprintf( __( '(optional) Some SMTP servers are adding this %s.', 'MailPress' ), sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://en.wikipedia.org/wiki/POP_before_SMTP', __( ' authorization method', 'MailPress' ) ) );
  58  $content .= '</td></tr>';
  59  
  60  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  61  
  62  // go to test
  63  $content .= '<tr><th>';
  64  $content .= __( 'Test', 'MailPress' );
  65  $content .= '</th><td>';
  66  $content .= __( 'Once saved, try your settings using the Test tab', 'MailPress' );
  67  $content .= '</td></tr>';
  68  
  69  $content .= '<tr><td colspan="2"><hr /></td></tr>';
  70  $content .= '</table>';
  71  
  72  
  73  $content .= '<p>';
  74  $content .= sprintf( __( 'More about %1$s and Swiftmailer (php class used by MailPress) %2$s.', 'MailPress' ), 'SMTP', sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'http://swiftmailer.org/docs/sending.html#the-smtp-transport', __( 'here', 'MailPress' ) ) );
  75  $content .= '</p>';
  76  
  77  // other protocols
  78  $content .= '<p>';
  79  $content .= sprintf( __('MailPress supports two other protocols : %1$s and %2$s.', 'MailPress'), sprintf( '<a href="%1$s" target="_blank">%2$s</a>', MailPress_addons . '#MailPress_connection_sendmail', 'SENDMAIL' ),  sprintf( '<a href="%1$s" target="_blank">%2$s</a>', MailPress_addons . '#MailPress_connection_php_mail', 'PHP_MAIL' ) );
  80  $content .= '</p>';
  81  


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