Account email / SMTP + IMAP

<%= link_to "Impostazioni", admin_path, class: "hover:underline" %> · SMTP per gli invii, IMAP (stesse credenziali) per leggere i bounce. Password cifrate.

<%= link_to "Nuovo account", new_mail_identity_path, class: "#{btn_primary} w-full sm:w-auto" %>
<% if @mail_identities.empty? %>

Nessun account. Crea il mittente con host, porta e credenziali SMTP.

<% else %>
<% @mail_identities.each do |identity| %>
">
<%= identity.name %>
<%= identity.from_name %>
<%= identity.from_email %>
<%= link_to "Modifica", edit_mail_identity_path(identity), class: "text-sm text-zinc-700 hover:underline dark:text-zinc-300" %>
<%= identity.smtp_host %>:<%= identity.smtp_port %> · <%= Catalog.label_for(Catalog::MAIL_ENCRYPTIONS, identity.encryption) %>
IMAP: <% if identity.imap_ready? %> <%= identity.effective_imap_host %>:<%= identity.effective_imap_port %> <% else %> off <% end %>
<%= identity.active? ? "Attivo" : "Disattivo" %>
<% end %>
<% end %>