diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 14:09:51 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 14:09:51 -0400 |
commit | 61da69886ad02cdb39d2640be9ba50e85b9dfc17 (patch) | |
tree | 1fa827c979eee876b3586139b997a6fbfc640b5b | |
parent | 9a3f73a672d657f71470d2d1b7a42321b42f5e34 (diff) |
some missing methods
darcs-hash:20080718180951-84dde-322895309c13697b30832bd463f55a49f5e9d964.gz
-rwxr-xr-x | maildaemon.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/maildaemon.php b/maildaemon.php index cd6287557..15a330f2d 100755 --- a/maildaemon.php +++ b/maildaemon.php @@ -36,7 +36,7 @@ class MailerDaemon { function __construct() { } - function save_message($fname='php://stdin') { + function handle_message($fname='php://stdin') { list($from, $to, $msg) = $this->parse_message($fname); if (!$from || !$to || !$msg) { $this->error(NULL, _t('Could not parse message.')); @@ -61,6 +61,10 @@ class MailerDaemon { exit(1); } + function handle_command($user, $msg) { + return false; + } + function respond($from, $to, $response) { $headers['From'] = $to; |