{assign var=meth value=':'|explode:$VAR._page} {if $form_validation} {$block->display('core:alert_fields')} {/if}
{osb f=tt}
{if $list->is_installed('email_queue')} {/if} {include file='file:../core/add_tr_submit.tpl'}
{osb f=tf field=name}
{osb f=tf field=queue} {$list->bool('setup_email_queue',$VAR.setup_email_queue)}
{osb f=tf field=notes}
{osb f=tf field=from_name}
{osb f=tf field=from_email}
{osb f=tf field=cc_list}
{osb f=tf field=bcc_list}
{osb f=tf field=type} {$list->bool('setup_email_type',$VAR.setup_email_type,'form_menu')}
{t}If you select 'Yes', you will need to enter your SMTP server login details below.{/t}
 
{osb f=tf field=server}
{osb f=tf field=username}
{osb f=tf field=password}
 
{osb f=tf field=piping} {$list->menu_staticlist('email_piping','setup_email_piping','setup_email_piping',$VAR.setup_email_piping,'form_menu')}
{osb f=tf field=piping_host}
{osb f=tf field=piping_username}
{osb f=tf field=piping_password}
{osb f=tf field=piping_action} {$list->menu_staticlist('email_piping_action','setup_email_piping_action','setup_email_piping_action',$VAR.setup_email_piping_action,'form_menu')}