some missing methods
darcs-hash:20080718180951-84dde-322895309c13697b30832bd463f55a49f5e9d964.gz
This commit is contained in:
parent
9a3f73a672
commit
61da69886a
@ -36,7 +36,7 @@ class MailerDaemon {
|
|||||||
function __construct() {
|
function __construct() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function save_message($fname='php://stdin') {
|
function handle_message($fname='php://stdin') {
|
||||||
list($from, $to, $msg) = $this->parse_message($fname);
|
list($from, $to, $msg) = $this->parse_message($fname);
|
||||||
if (!$from || !$to || !$msg) {
|
if (!$from || !$to || !$msg) {
|
||||||
$this->error(NULL, _t('Could not parse message.'));
|
$this->error(NULL, _t('Could not parse message.'));
|
||||||
@ -61,6 +61,10 @@ class MailerDaemon {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handle_command($user, $msg) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
function respond($from, $to, $response) {
|
function respond($from, $to, $response) {
|
||||||
|
|
||||||
$headers['From'] = $to;
|
$headers['From'] = $to;
|
||||||
|
Loading…
Reference in New Issue
Block a user