voku/PHPMailer-BMH

Fix rule 124

Closed this issue · 2 comments

Add in rules $result['email'] = $match[1];
In callback function param $email is empty without this line

elseif (preg_match("/<(\S+@\S+\w)>.*\n.*mailbox unavailable/i", $body, $match)) {
    $result['rule_cat'] = 'unknown';
    $result['rule_no'] = '124';
    /* HERE */
    $result['email'] = $match[1];
  }

Created Pull request

voku commented

thx for the bug-report + fix -> fixed in v5.4.4