X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/db2ca21db73a2ea52155510e1e0300541d6b9ef6..7090dec44236531f42af5763416db5d07c94b10a:/invoice_send.php diff --git a/invoice_send.php b/invoice_send.php index bc290a66..3d219ab7 100644 --- a/invoice_send.php +++ b/invoice_send.php @@ -86,6 +86,8 @@ if ($request->isPost()) { $mailer->setReceiver($cl_receiver); if (isset($cl_cc)) $mailer->setReceiverCC($cl_cc); + if (!empty($user->bcc_email)) + $mailer->setReceiverBCC($user->bcc_email); $mailer->setMailMode(MAIL_MODE); if ($mailer->send($cl_subject, $body)) $msg->add($i18n->getKey('form.mail.invoice_sent'));