You are here

function mail_logger_rules_condition_mailkey in Mail Logger 6

Condition Implementation: Compare the mail type.

File

./mail_logger.rules.inc, line 28
Rules integration with Mail Logger.

Code

function mail_logger_rules_condition_mailkey($mail, $settings) {
  return $mail['id'] == $settings['mailkey'];
}