{#** * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2018 PrestaShop SA * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% trans_default_domain 'Admin.Advparameters.Feature' %} {% block smtp_configuration %}

settings {{ 'Email'|trans({}, 'Admin.Global') }}

{{ ps.label_with_help(('Mail domain name'|trans), ('Fully qualified domain name (keep this field empty if you don\'t know).'|trans({}, 'Admin.Advparameters.Help'))) }}
{{ form_errors(emailConfigurationForm.smtp_config.domain) }} {{ form_widget(emailConfigurationForm.smtp_config.domain) }}
{{ ps.label_with_help(('SMTP server'|trans), ('IP address or server name (e.g. smtp.mydomain.com).'|trans({}, 'Admin.Advparameters.Help'))) }}
{{ form_errors(emailConfigurationForm.smtp_config.server) }} {{ form_widget(emailConfigurationForm.smtp_config.server) }}
{{ ps.label_with_help(('SMTP username'|trans), ('Leave blank if not applicable.'|trans({}, 'Admin.Advparameters.Help'))) }}
{{ form_errors(emailConfigurationForm.smtp_config.username) }} {{ form_widget(emailConfigurationForm.smtp_config.username) }}
{{ ps.label_with_help(('SMTP password'|trans), ('Leave blank if not applicable.'|trans({}, 'Admin.Advparameters.Help'))) }}
{{ form_errors(emailConfigurationForm.smtp_config.password) }} {{ form_widget(emailConfigurationForm.smtp_config.password) }}
{{ form_errors(emailConfigurationForm.smtp_config.encryption) }} {{ form_widget(emailConfigurationForm.smtp_config.encryption) }} {% if not isOpenSslExtensionLoaded %} {{ 'SSL does not seem to be available on your server.'|trans({}, 'Admin.Advparameters.Notification') }} {% endif %}
{{ ps.label_with_help(('Port'|trans), ('Port number to use.'|trans)) }}
{{ form_errors(emailConfigurationForm.smtp_config.port) }} {{ form_widget(emailConfigurationForm.smtp_config.port) }}
{% block smtp_configuration_form_rest %} {{ form_rest(emailConfigurationForm.smtp_config) }} {% endblock %}
{% endblock %}