I stand corrected... my functions_email.php file didn't overwrite properly, so ignore my post.
I've tested it and all is ok now.
Thanks!
Printable View
I stand corrected... my functions_email.php file didn't overwrite properly, so ignore my post.
I've tested it and all is ok now.
Thanks!
Updated README file to remove obsolete instructions.
Updated zip file to bring in the latest includes/functions/functions_email.php.
I just installed Email Archive Manager this morning into new Zen Cart version 1.56 and everything to send email stopped working in the shopping cart, with a "Internal Server Error". I tried it and sending email elsewhere in the Admin area several times and no email would send out from the shopping cart. The website is on Netfirms hosting, and I checked the Error Logs and nothing listed. But, I got lucky and picked: MyStore/includes/functions/functions_email.php first, and replaced it only with the original shopping cart copy of that file. Then tested before doing anything else. The email worked again in the shopping cart, including the Email Archive Manager too, as I had done nothing with the other files for it. I'm not much of writer for PHP, but that one file did not work with 1.56, it caused the "Internal Server Error". So until an update for 1.56, maybe don't install MyStore/includes/functions/functions_email.php and see if it works for you otherwise.
Email Archive Manager is only up to 1.5.5. You could do the merge yourself for the file in question - it just allows you to preserve HTML mail in the archive.
Update - I have the newest version 1.8d working well on 3 carts/3 separate Linux servers running:
- Zen Cart 1.55f (b)
- MySQL 5.55
- PHP 7.1
Installed with cart 1.5.5f. When I try to preview HTML, all I get is body tag with style code.
Code:body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .content-line {padding:5px;} #checkout .content-line { font-size: 10px; } .footer {border-top:1px solid #9a9a9a; font-size:9px; margin-top:10px; text-align:center; width:550px;} .disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;} .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 {color:#666666; padding:5px;} .copyright {border-bottom:0px solid #9a9a9a; padding:5px;} .extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .extra-info-bold {font-weight:bold;} .unsubscribe {border-bottom:1px solid #9a9a9a; padding:5px;} .gv {background-color:#66FF99; border:1px #9a9a9a; width:550px; padding:2px; font-size:10px; } .gv-amount {font-weight:bold; color:#669966;} .gv-code {font-weight:bold; color:#66CC66;} .store-name {font-size:13px; padding:5px;} .coupon-block { padding: 5px; border: 1px #cccccc solid; background-color: #FFFF99; } .coupon-code {font-weight:bold;} .gv-block { padding: 5px; border: 1px #cccccc solid; background-color: #99FF99; } .content-line-title {font-weight:bold; font-size:11px; padding-top:3px;} .order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .product-details {font-size:10px;} .product-details-num {font-size:10px; font-weight:bold;} .order-totals-text {font-size:10px; font-weight:bold;} .order-totals-num {font-size:10px; } .comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;} .address {font-size:10px;} .payment-detail, .payment-footer {font-size:10px;} .delivery-block, .billing_block { width: 50%; vertical-align: top; } @media only screen and (max-width:640px){ .extra-info, .delivery-block, .billing-block {width:100%; margin:0; } .holder, .header, .content, .footer, .disclaimer, .gv { width: 100%; } .comments, .order-detail-area { width: 95%; } .billing-block, .delivery-block { float:left; } .billing-block { border-top:1px solid #9a9a9a; margin-top:5px; } }
Only HTML emails sent *after* you installed this module will be available. Before that you will have to use the text emails.
OK. Thanks for the quick reply.
ZC156a PHP 7.3.1
Resending msg from E-mail Archive manager resulted in "Illegal string offset 'EMAIL_TO_NAME' errors + others".
To correct I applied the patch discussed in https://www.zen-cart.com/showthread....unctions_email
and available from GitHub https://github.com/zencart/zencart/pull/1151/files
environment Dev: Zen Cart 156a; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10