Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add from-adress to logs #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions lib/Compose.php
Original file line number Diff line number Diff line change
Expand Up @@ -1429,10 +1429,11 @@ protected function _prepSendMessageAssert(Horde_Mail_Rfc822_List $email)
Horde::permissionDeniedError('imp', 'max_timelimit');
throw new IMP_Compose_Exception(sprintf(
ngettext(
"You are not allowed to send messages to more than %d recipient within %d hours.",
"You are not allowed to send messages to more than %d recipients within %d hours.",
"You (%s) are not allowed to send messages to more than %d recipient within %d hours.",
"You (%s) are not allowed to send messages to more than %d recipients within %d hours.",
$imp_imap->max_compose_timelimit
),
$GLOBALS['registry']->getAuth(),
$imp_imap->max_compose_timelimit,
$injector->getInstance('IMP_Sentmail')->limit_period
));
Expand All @@ -1444,10 +1445,11 @@ protected function _prepSendMessageAssert(Horde_Mail_Rfc822_List $email)
Horde::permissionDeniedError('imp', 'max_recipients');
throw new IMP_Compose_Exception(sprintf(
ngettext(
"You are not allowed to send messages to more than %d recipient.",
"You are not allowed to send messages to more than %d recipients.",
"You (%s) are not allowed to send messages to more than %d recipient.",
"You (%s) are not allowed to send messages to more than %d recipients.",
$imp_imap->max_compose_recipients
),
$GLOBALS['registry']->getAuth(),
$imp_imap->max_compose_recipients
));
}
Expand Down