Author Topic: Add BCC to email send?  (Read 893 times)

Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Add BCC to email send?
« on: July 28, 2018, 01:18:05 AM »
How do you add a BCC address to the customer email send? Anybody know? Thanks!
« Last Edit: July 28, 2018, 10:53:20 AM by masalachai »

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1452
  • Karma: +379/-2
    • View Profile
Re: Add BCC to email send?
« Reply #1 on: July 28, 2018, 03:32:41 PM »
If you have turned on notifications in Admin dashboard  System > settings > mail  the system will send an email to the store owner email as set in the general settings.   Or you can add additional email address within the same location.
It sends a duplicate of the email sent to customer,  but with a heading that says   - You have received an order.  -
rather than what is on the customer side    - the default is this:
Thank you for your interest in Web Store Name products. Your order has been received and will be processed after payment is confirmed.

Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Re: Add BCC to email send?
« Reply #2 on: July 28, 2018, 03:34:22 PM »
Thanks Lee. Unfortunately, that doesn't work because our store email is no-reply@example.com. Also, we want to get an exact copy of the email sent to the customer (not just an alert, hence the need for BCC). From what I can tell, it looks like AbanteCart is using PHPMailer (https://github.com/PHPMailer/PHPMailer), but for some reason is missing the CC and BCC variables. I could do (have done) this easily enough in straight PHP by modifying the mail headers, but hacking PHPMailer isn't as obvious.  Thanks again!
« Last Edit: July 28, 2018, 04:12:59 PM by masalachai »

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1452
  • Karma: +379/-2
    • View Profile
Re: Add BCC to email send?
« Reply #3 on: July 28, 2018, 04:22:15 PM »
I think you missed two of my points:
You do get an exact copy of the email - complete with all the information,  address,  products,  etc.the little difference is only the notification line and you can easily change that within in XML
Second missed point,  you can add any additional emails you wish to received an order email duplicate -  in the mail setup.
but no-reply@somedomainn -  does exist also,  just a comment



Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Re: Add BCC to email send?
« Reply #4 on: July 28, 2018, 04:25:59 PM »
Thanks Lee, I did check out the notification biz first and found that the problem with the alert approach is every email bounces on the no-reply@example.com, right? This would not be a problem using BCC or CC. Don't know why AbanteCart doesn't have BCC and CC since they're about as standard as email headers go and have been around forever. I can only conclude the absence as simply an oversight by the developers.  Hopefully it'll be corrected in future versions.
« Last Edit: July 30, 2018, 05:59:25 AM by masalachai »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1774
  • Karma: +246/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Add BCC to email send?
« Reply #5 on: July 30, 2018, 05:59:08 AM »
what about chain rule on outgoing email box on your email-server?
i mean rule when all sent emails forwarded into another email address..
You can check gmail chains inside gmail settings. The same stuff presents on SquirellMail that usually installed on hosts..
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Re: Add BCC to email send?
« Reply #6 on: July 30, 2018, 06:06:20 AM »
Thanks abolabo for the reply! Good to hear from one of the developers.  Sorry, but I've never heard of the "chain rule" for email or why/how that would be better than just using BCC. Can you please provide an example or further explanation? Thanks again!
« Last Edit: July 30, 2018, 12:02:08 PM by masalachai »

Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Re: Add BCC to email send?
« Reply #7 on: August 01, 2018, 12:53:08 PM »
Something like Contact 7 “Additional Headers” perhaps?
« Last Edit: August 01, 2018, 04:13:24 PM by masalachai »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4191
  • Karma: +202/-0
    • View Profile
Re: Add BCC to email send?
« Reply #8 on: August 02, 2018, 02:08:53 AM »
Hi.
I dont think AbanteCart should duplicate your mail features. It is so easy to set copy/resend to any email in your Mail server/service
“Chuck Norris is so amazing.”
― Mother Teresa

Offline masalachai

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Re: Add BCC to email send?
« Reply #9 on: August 02, 2018, 01:11:41 PM »
> It is so easy to set copy/resend to any email in your Mail server/service

Huh? How does this have anything to do with solving the bounce "no-reply@example.com" problem?
« Last Edit: August 03, 2018, 12:46:29 AM by masalachai »

 

Powered by SMFPacks Social Login Mod