{% extends "@UVDeskCoreFramework//Templates//layout.html.twig" %} {% block title %} {{ 'Mailbox Settings'|trans }} {% endblock %} {% block pageContent %}
{# Append Panel Aside #} {% set asideTemplate = 'Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\AsideTemplate' %} {% set asideSidebarReference = 'Webkul\\UVDesk\\CoreFrameworkBundle\\UIComponents\\Dashboard\\Panel\\Sidebars\\Settings' %} {{ uvdesk_extensibles.getRegisteredComponent(asideTemplate).renderSidebar(asideSidebarReference) | raw }}
{% if mailbox is defined and mailbox.id is not empty %}

{{ 'Update Mailbox'|trans }}

{% else %}

{{ 'Add Mailbox'|trans }}

{% endif %}
{# Mailer Id #}
{% if mailbox is defined and mailbox.id is not empty %} {% else %} {% endif %}
{# Mailer Name #}
{% if mailbox is defined and mailbox.name is not empty %} {% else %} {% endif %}
{# Status #}
{# IMAP Settings #}

{{ 'Incoming Mail (IMAP) Server'|trans }}

{{ 'Configure your imap settings which will be used to fetch emails from your mailbox.'|trans }}

{% if mailbox is defined %} {% else %} {% endif %}
{# SwiftMailer Settings #}

{{ 'Outgoing Mail (SMTP) Server'|trans }}

{{ 'Select a valid Swift Mailer configuration which will be used to send emails through your mailbox.'|trans }}

{% if swiftmailerConfigurations is defined and swiftmailerConfigurations is not empty %} {% else %} {% endif %}
{% if mailbox is defined and mailbox.id is not empty %} {% else %} {% endif %}
{% endblock %} {% block footer %} {{ parent() }} {% endblock %}