<%= t('general') %>


<%= 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;"} %>


<%= f.text_field :preferred_mails_from, :size => 40, :maxlength => 256 %>
<%= t("smtp_send_all_emails_as_from_following_address") %>


<%= f.text_field :preferred_mail_bcc, :size => 40, :maxlength => 256 %>
<%= t("smtp_send_copy_to_this_addresses") %>


<%= f.text_field :preferred_intercept_email, :size => 40, :maxlength => 256 %>
<%= t("intercept_email_instructions") %>

<%= t('smtp') %>


<%= f.text_field :preferred_mail_domain %>


<%= f.text_field :preferred_mail_host %>


<%= f.text_field :preferred_mail_port %>


<%= f.collection_select(:preferred_secure_connection_type, MailMethod::SECURE_CONNECTION_TYPES, :to_s, :to_s, {}, {"style" => "width:200px"}) %>


<%= f.collection_select(:preferred_mail_auth_type, MailMethod::MAIL_AUTH, :to_s, :to_s, {}, {"style" => "width:200px"}) %>


<%= f.text_field :preferred_smtp_username %>


<%= f.password_field :preferred_smtp_password %>