{[ "type": "text", "label": "", "name": "name", "value": "$name$", "required": 1 ]}
{[ "type": "checkbox", "label": "", "name": "pec", "value": "$pec$" ]}
{[ "type": "checkbox", "label": "", "name": "predefined", "value": "$predefined$", "help": "" ]}
{[ "type": "text", "label": "", "name": "from_name", "value": "$from_name$" ]}
{[ "type": "email", "label": "", "name": "from_address", "value": "$from_address$", "required": 1 ]}
{[ "type": "checkbox", "label": "", "name": "ssl_no_verify", "value": "$ssl_no_verify$" ]}
{[ "type": "text", "label": "", "name": "server", "required": 1, "value": "$server$" ]}
{[ "type": "number", "label": "", "name": "port", "required": 1, "class": "text-center", "decimals":"0", "max-value":"65535", "value": "$port$" ]}
{[ "type": "select", "label": "", "name": "encryption", "values": "list=\"\": \"\", \"tls\": \"TLS\", \"ssl\": \"SSL\"", "value": "$encryption$" ]}
{[ "type": "text", "label": "", "name": "username", "value": "$username$" ]}
{[ "type": "password", "label": "", "class": "", "name": "password", "value": "$password$" ]}
{[ "type": "textarea", "label": "", "name": "note", "value": "$note$" ]}
fetchArray('SELECT `id`, `name` FROM `zz_emails` WHERE `id_smtp` = '.prepare($id_record)); if (!empty($elementi)) { echo '

'.tr('Template email collegati: _NUM_', [ '_NUM_' => count($elementi), ]).'

'; } else { echo ' '.tr('Elimina').' '; } ?>