<%=t("environment")%> <%= f.collection_select(:environment, Configuration.configurations.keys.sort, :to_s, :titleize, {}, {:id => "gtwy-env"}) %>
<%= f.check_box :preferred_enable_mail_delivery, {:style => "vertical-align:middle;"} %> <%= t('enable_mail_delivery') %>
<%= t('send_mails_as') %> <%= f.text_field :preferred_mails_from, :size => 40, :maxlength => 256 %> <%= t("smtp_send_all_emails_as_from_following_address") %>
<%= t('send_copy_of_all_mails_to') %> <%= f.text_field :preferred_mail_bcc, :size => 40, :maxlength => 256 %> <%= t("smtp_send_copy_to_this_addresses") %>
<%= t('intercept_email_address') %> <%= f.text_field :preferred_intercept_email, :size => 40, :maxlength => 256 %> <%= t("intercept_email_instructions") %>
<%= t("smtp_domain") %> <%= f.text_field :preferred_mail_domain %>
<%= t('smtp_mail_host') %> <%= f.text_field :preferred_mail_host %>
<%= t('smtp_port') %> <%= f.text_field :preferred_mail_port %>
<%= t('secure_connection_type') %> <%= f.collection_select(:preferred_secure_connection_type, MailMethod::SECURE_CONNECTION_TYPES, :to_s, :to_s, {}, {"style" => "width:200px"}) %>
<%= t('smtp_authentication_type') %> <%= f.collection_select(:preferred_mail_auth_type, MailMethod::MAIL_AUTH, :to_s, :to_s, {}, {"style" => "width:200px"}) %>
<%= t('smtp_username') %> <%= f.text_field :preferred_smtp_username %>
<%= t('smtp_password') %> <%= f.password_field :preferred_smtp_password %>