You've put inappropriate content in your email_use_8bit.php file, namely stuff that should only be in functions_email.php
You've put inappropriate content in your email_use_8bit.php file, namely stuff that should only be in functions_email.php
.
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.
HMM I followed these directions below from previous a post but altered nothing just uploaded via ftp, was I supposed to make changes to this file as well?
To sum up, and consolidate everything into 1 post -
To increase the chances of emails sent from admin as HTML actually arriving as HTML, particularly to webmail based email systems such as hotmail, yahoo mail, gmail etc.; and to allow test newsletters sent to the admin email address to arrive as HTML, do the following:
Copy /includes/extra_configures/email_use_8bit.php to /admin/includes/extra_configures, so that both folders have a copy of the file.
Replace /includes/functions/functions_email.php with the attached copy, which incorporates DrBytes' suggested changes.
Chuck
Attached File: functions_email.zip (8.4 KB, 354 views)
[FONT="Comic Sans MS"]Red[/FONT]
Well, if you're getting the error message you mentioned:... then you uploaded code from functions_email.php as /includes/extra_configures/email_use_8bit.phpCannot redeclare zen_mail() (previously declared in /home/tyler/public_html/shop/includes/extra_configures/email_use_8bit.php
So, you'll need to undo whatever you did and try again.
Aren't you glad you make regular backups before you change files on your 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.
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
just what i needed! worked first time, thanks for clear and helpful answer!
Now I finally know how to send HTML e-mail, but I was surprised that the banner above which appeared with the e-mail that I´ve sent seems to be the orginal Zen Cart (The art of e-commerce) banner from the template, not my shop´s banner.
Does someone know what seems to be the problem why this original Zen Cart banner appears instead of the one which I use in my shop?
Thank you![]()
Perhaps you haven't changed the "banner" (header) graphic to be your own? /email/header.jpg
.
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.
Thank you for the very quick reply, I appreciate it. If I understand you correct, I must also change the banner (replace it with my own) for email sendings eventhough I changed it already with my own as my default shop banner?
The HTML emails are built from an entirely separate template structure, located in the /email/ folder. You'll need to update any graphics in that folder to suit your website.
.
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.
Thank you for your great support DrByte!![]()