summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmaildaemon.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/maildaemon.php b/maildaemon.php
index c99a3ee48..072f895b8 100755
--- a/maildaemon.php
+++ b/maildaemon.php
@@ -141,17 +141,17 @@ class MailerDaemon {
$msg = $parsed->body;
break;
default:
- $this->unsupported_type();
+ $this->unsupported_type($parsed);
}
default:
- $this->unsupported_type();
+ $this->unsupported_type($parsed);
}
return array($from, $to, $msg);
}
- function unsupported_type() {
- $this->error(NULL, "Unsupported message type");
+ function unsupported_type($parsed) {
+ $this->error(NULL, "Unsupported message type: " . $parsed->ctype_primary . "/" . $parsed->ctype_secondary ."\n");
}
}