News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Add BCC to email send?

Started by masalachai, July 28, 2018, 01:18:05 AM

Previous topic - Next topic

masalachai

How do you add a BCC address to the customer email send? Anybody know? Thanks!

llegrand

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.

masalachai

#2
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!

llegrand

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



masalachai

#4
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.

abolabo

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

masalachai

#6
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!

masalachai

#7
Something like Contact 7 "Additional Headers" perhaps?

Basara

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

masalachai

#9
> 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?

Forum Rules Code of conduct
AbanteCart.com 2010 -