@@ 417-423 (lines=7) @@ | ||
414 | && $structure->ifparameters |
|
415 | && $this->isParameter($structure->parameters, 'REPORT-TYPE', 'delivery-status')) { |
|
416 | $processed = $this->processBounce($x, 'DSN', $c_total); |
|
417 | } else { // not standard DSN msg |
|
418 | $this->output('Msg #' . $x . ' is not a standard DSN message', VERBOSE_REPORT); |
|
419 | if ($this->debug_body_rule) { |
|
420 | $this->output(" Content-Type : {$match[1]}", VERBOSE_DEBUG); |
|
421 | } |
|
422 | $processed = $this->processBounce($x, 'BODY', $c_total); |
|
423 | } |
|
424 | } else { |
|
425 | $header = imap_fetchheader($this->_mailbox_link, $x); |
|
426 | // Could be multi-line, if the new line begins with SPACE or HTAB |
|
@@ 432-438 (lines=7) @@ | ||
429 | && preg_match("/report-type=[\"']?delivery-status[\"']?/is", $match[1])) { |
|
430 | // standard DSN msg |
|
431 | $processed = $this->processBounce($x, 'DSN', $c_total); |
|
432 | } else { // not standard DSN msg |
|
433 | $this->output('Msg #' . $x . ' is not a standard DSN message', VERBOSE_REPORT); |
|
434 | if ($this->debug_body_rule) { |
|
435 | $this->output(" Content-Type : {$match[1]}", VERBOSE_DEBUG); |
|
436 | } |
|
437 | $processed = $this->processBounce($x, 'BODY', $c_total); |
|
438 | } |
|
439 | } else { // didn't get content-type header |
|
440 | $this->output('Msg #' . $x . ' is not a well-formatted MIME mail, missing Content-Type', VERBOSE_REPORT); |
|
441 | if ($this->debug_body_rule) { |