I've just tested the changes I've suggested in this thread, and (after making the EMAIL_TEXT_CC_MSG change mentioned in my last post) it works just fine for me both on my localhost setup and on live server.
I've just tested the changes I've suggested in this thread, and (after making the EMAIL_TEXT_CC_MSG change mentioned in my last post) it works just fine for me both on my localhost setup and on live server.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I actually made the change from "We're" to "We are" even before I started testing it (knowing a tiny bit about how (') can affect coding.
Anyway, it still doesn't work for me. Whenever I use "AddBCC" I get the mail transport error, when I change that to "AddCC", I don't get the error but I also don't get cc'd on the store email address.
I'm using zencart 1.3.8a. Is there another way around this? I cringe on thinking I have to test this on a live site to see if it is a problem only with the local host....
Incidentally, I also tried adding that code on sending a BCC for emails sent to customer and I get the same error there on mail transport.
PROBLEM SOLVED!
Thank you for bearing with me Dr. Byte!! I figured out what the problem was. My local host setup mail transport was set to PHP which worked fine for all other emails going out and in but apparently it disliked the AddBCC function so I had to switch this to SMTP and set the local mail server setting and it worked!
Thanks to your help!!
One last question before I test this on live site. My live site all uses default PHP. I'm using a linux host godaddy, does this mean I have to switch all of these to SMTP for the codes to work?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Right now my live site on linux is set to PHP email transport. Do I have to change this to SMTP for the codes to work?
You'll only know by testing.
My testing works fine using PHP mode. But the appropriate transport method for your unique server will be specific to your server's configuration.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Well, took the leap and tested on live site. Turned out I didn't have to change anything on the email transport on live site even though it says PHP on the mail transport.
Wonder why your local host testing works on PHP and mine doesn't? I use Windows XP and XAMPP for server. All the test mail mode works well except for when I added the AddBCC mode then it suddenly failed to deliver until I changed it to SMTP.
But the live site worked fine.
Thanks again Dr.Byte!!!![]()
Might be something in your local mailserver software which won't allow you to send BCC emails without first authenticating yourself, perhaps as a spam-protection or relay-protection measure.
IMO localhost mailserver software is at best only a general approximation of how things "might" work in a real-world situation. Mailservers on live webservers are usually configured with a LOT more precision and care, and designed to work with real-world situations, not the hypothetical ones created by standalone "pretend" webservers running on local PCs. There are many specialized skills required for properly configuring and running a "real" webserver which most of us never get into (and probably shouldn't bother with), and email is an especially delicate one.
For your bedtime reading, check out this page and the various links in the main article: http://www.zen-cart.com/wiki/index.p...Email_Problems
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.