Send quota email to domain owner or master admin separately https://www.virtualmin.com/node/27493

This commit is contained in:
Jamie Cameron
2013-05-22 14:51:44 -07:00
parent b5bfa5a76c
commit 004f70ec9e
2 changed files with 11 additions and 3 deletions

View File

@@ -219,8 +219,16 @@ else {
}
&mailboxes::send_text_mail($from || &mailboxes::get_from_address(),
$addr,
$ccaddr,
undef,
$subject,
$body);
if ($ccaddr) {
# Also send to other address (like the domain owner)
&mailboxes::send_text_mail($from || &mailboxes::get_from_address(),
$ccaddr,
undef,
$subject,
$body);
}
}

View File

@@ -281,8 +281,8 @@ lusers_domain=Domain for user addresses
luser_virtualmin=Get domain from Virtualmin?
lusers_from=From: address for email
lusers_mass=Update Selected Users
lusers_cc=Also Cc: email to
lusers_nocc=Don't Cc
lusers_cc=Also send email to
lusers_nocc=Nobody
grace_seconds=Seconds
grace_minutes=Minutes