[% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › SMTP servers [% IF op == 'add_form' %] › New SMTP server [% ELSIF op == 'edit_form' %] › Edit SMTP server [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %]
[% FOREACH m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred trying to open the server for editing. The passed id is invalid. [% CASE 'error_on_insert' %] An error occurred when adding the server. The library already has an SMTP server set. [% CASE 'success_on_update' %] Server updated successfully. [% CASE 'success_on_insert' %] Server added successfully. [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF op == 'add_form' %]

New SMTP server

  1. Required
  1. Required
  2. Required
  3. Enables additional debug output in the logs
Cancel
[% END %] [% IF op == 'edit_form' %]

Edit SMTP server

  1. Required
  1. Required
  2. Required
  3. [% IF smtp_server.password %] [% ELSE %] [% END %]
Cancel
[% END %] [% IF op == 'list' %]

SMTP servers

Default configuration:

  • Host: [%- default_config.host | html -%]
  • Port: [%- default_config.port | html -%]
  • Timeout (secs): [%- default_config.timeout | html -%]
  • SSL: [%- IF default_config.ssl_mode == 'disabled' -%]Disabled[%- ELSIF default_config.ssl_mode == 'ssl' -%]SSL[%- ELSE -%]STARTTLS[%- END -%]
  • Debug mode: [%- IF default_config.debug -%]Yes[%- ELSE -%]No[%- END -%]
[% IF servers_count > 0 %]
Name Host Port Timeout (secs) SSL Authenticated Actions
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]