How do I send BCC to myself when I Send Email to Customer?
Hello,
I know your busy, I'll just cut to the chase...
When I use the admin>tools>send email function to send an email to customer, it never send me a copy.
I would like for my admin@ address to be included as a bcc on every email I send this way so I have a copy of what that email looked like.
Can you tell me where I can make this change to get that done?
Please.
1 Attachment(s)
Re: How do I send BCC to myself when I Send Email to Customer?
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
Re: How do I send BCC to myself when I Send Email to Customer?
Thank you!
It was exactly at line 210, and it works exactly as I wanted, and
another fine job by the notorious Dr. Byte.
For those of you not familiar with using the BCC, it allows you to address someone on your email without the knowledge of the others. So, I can email myself a copy of outgoing emails without the knowledge of the intended recipient. This allows me to use my mail client to archive emails which was it's intended function among others.
Re: How do I send BCC to myself when I Send Email to Customer?
Quote:
Originally Posted by
Zinfandel
Thank you!
It was exactly at line 210, and it works exactly as I wanted, and
another fine job by the notorious Dr. Byte.
For those of you not familiar with using the BCC, it allows you to address someone on your email without the knowledge of the others. So, I can email myself a copy of outgoing emails without the knowledge of the intended recipient. This allows me to use my mail client to archive emails which was it's intended function among others.
Thank you from me to Dr. Byte as well. This has been a nag of mine for awhile and I tripped over this thread. Change works great!