You are here

function amazon_ses_sender_configuration_form in Amazon SES 7.2

Same name and namespace in other branches
  1. 7 includes/amazon_ses.admin.inc \amazon_ses_sender_configuration_form()

Set Sender Information.

1 string reference to 'amazon_ses_sender_configuration_form'
amazon_ses_menu in ./amazon_ses.module
Implements hook_menu().

File

includes/amazon_ses.admin.inc, line 533
Administration menu callbacks for amazon_mail_service.

Code

function amazon_ses_sender_configuration_form($form, &$form_state) {
  $form['amazon_ses_sender_config'] = array(
    '#type' => 'fieldset',
    '#title' => t('Configure Sender'),
    '#collapsed' => FALSE,
  );
  $form['amazon_ses_sender_config']['amazon_ses_reply_to'] = array(
    '#type' => 'textfield',
    '#title' => t('Reply To'),
    '#size' => 60,
    '#default_value' => variable_get('amazon_ses_reply_to', ''),
    '#description' => t('Set Reply To Address.'),
  );
  $form['amazon_ses_sender_config']['amazon_ses_return_path'] = array(
    '#type' => 'textfield',
    '#title' => t('Return Path'),
    '#size' => 60,
    '#default_value' => variable_get('amazon_ses_return_path', ''),
    '#description' => t("If you specified SendEmail's optional ReturnPath parameter, then notifications will go to the specified address."),
  );
  return system_settings_form($form);
}