To make your admin "send email" page send a BCC to the store owner's email address as defined in Admin->Configuration->Email Options, make the following change:
/includes/functions/functions_email.php
Around line 210 you'll see:
Code:
$mail->Subject = $email_subject;
$mail->From = $from_email_address;
Insert the extra code as shown:
Code:
$mail->Subject = $email_subject;
if (IS_ADMIN_FLAG === true && $module == 'direct_email') {
$mail->AddBCC(STORE_OWNER_EMAIL_ADDRESS, STORE_NAME);
}
$mail->From = $from_email_address;
Or, even easier yet, use the observer class attached. Place the two files as indicated:
/includes/auto_loaders/config.sendBCCofAdminEmails.php
/includes/classes/observers/class.sendBCCofAdminEmails.php
Bookmarks