For a non administrator the from for the broadcast is wrong

    $form['from'] = array(
     '#value' => t('This message will be sent from: %from', array('%from' => $user->mail)),
     '#pre' => '<strong>',
     '#post' => '</strong>',
    );

this does not put the email in the value and that is what signup_broadcast_form_submit expects....

Comments

dww’s picture

Status: Active » Closed (works as designed)

If you're going to read the code and submit a "bug" report, please read the code:

function signup_broadcast_form_submit($form_id, $form_values) {
  $addresses = signup_get_email_addresses($form_values['nid']);
  if (is_array($addresses)) {
    if (user_access('administer site configuration')) {
      $from = $form_values['from'];
    }
    else {
      global $user;
      $from = $user->mail;
    }
    ...