Route all emails through the mailQueue to prevent dropped emails.

This commit is contained in:
Colin Kuskie 2010-02-24 09:58:07 -08:00
parent f761188bb0
commit a21783304e
4 changed files with 7 additions and 6 deletions

View file

@ -194,7 +194,7 @@ sub execute {
from=>$cs->get("mailAddress")
});
$send->addText($i18n->get("rejected because no user account"));
$send->send;
$send->queue;
}
next;
}
@ -232,7 +232,7 @@ sub execute {
from=>$cs->get("mailAddress")
});
$send->addText($i18n->get("rejected because not allowed"));
$send->send;
$send->queue;
}
# just in case there are a lot of messages, we should release after a minutes worth of retrieving
last if (time() > $start + $ttl);