add some logging
darcs-hash:20080718202702-84dde-7a7e8223323c93cfae74f497cef1cf55e8a75c47.gz
This commit is contained in:
parent
c31d6e7fb1
commit
957df3d43d
@ -41,6 +41,7 @@ class MailerDaemon {
|
||||
if (!$from || !$to || !$msg) {
|
||||
$this->error(NULL, _t('Could not parse message.'));
|
||||
}
|
||||
common_log(LOG_INFO, "Mail from $from to $to: " .substr($msg, 0, 20));
|
||||
$user = User::staticGet('email', common_canonical_email($from));
|
||||
if (!$user) {
|
||||
$this->error($from, _('Not a registered user.'));
|
||||
|
Loading…
Reference in New Issue
Block a user