You are here

function mimemail_rules_action_mail_to_users_of_role_upgrade in Mime Mail 7

Implements hook_rules_action_base_upgrade().

File

./mimemail.rules.inc, line 267
Rules actions for sending Mime-encoded emails.

Code

function mimemail_rules_action_mail_to_users_of_role_upgrade($element, RulesPlugin $target) {
  $target->settings['roles'] = $element['#settings']['recipients'];
  mimemail_rules_action_mail_upgrade($element, $target);
}