Resending HTML mail is not going to work; the HTML is modified prior to storage in the database to prevent attacks. I suggested that we be able to force TEXT as a mode during resend since the text could be resent.
Resending HTML mail is not going to work; the HTML is modified prior to storage in the database to prevent attacks. I suggested that we be able to force TEXT as a mode during resend since the text could be resent.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Note that if you add yourself (or an email under your control) to the CC list for all outbound emails, you could resend from your own email client.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I wonder why the html is modified? Because all the html is generated by zencart internally (with the email templates), so what 'attack' is being prevented.
The only customer input to the emails (contact us and order comments) are heavily sanitised (and de-html'd) before getting included and the rest of the email is safely generated by ZenCart.
I did once (quite a few years ago now) ammend this contribution to store the emails with the html in the database, and so enable resending of the html emails. It worked well. Basically you have to remove the (buggy) code that strips the html and create a blank email template for resending the email.
This is really a great module which works fine on my site and helps so much.
Buy I'd like to have one more feature included in the possible next version(seems little hope, since this mod got no posts for a long time)
The "trim email" functions gives little freedom to us, only 3 options: 1month, 6months and 12month.
But the "search email archive" function gives us enough option and freedom, so I'm think if we can have a "delete button" on the search result page, that would be great, see picture:
![]()
Thanks for this great mod!
Anyway to edit emails before re-sending it ?
Me too, using zc151 and xampp on localhost (Not live yet). And if I change the Admin > Configuration > Email Options for HTML, the css code above is replaced by an even more useless little square box.
However, in shop151\includes\functions\functions_email.php, if you replace
withCode:if (!defined('EMAIL_SYSTEM_DEBUG')) define('EMAIL_SYSTEM_DEBUG','0');
the admin and customer HTML versions should render to the screen one atop the other in place of the success page for the particular email sent.Code:if (!defined('EMAIL_SYSTEM_DEBUG')) define('EMAIL_SYSTEM_DEBUG','preview');
For a live store, 'preview' should be reverted to the default '0' setting.
Hope this helps
Hi, just checking if I can drop the email_archive table from database using phpmyadmin, in order to uninstall?
And then just delete all files supplied my mod?
Thanks!
v1.5.6c
https://partydudes.co.nz
Um, not a good idea. The mod doesn't create that table. If you drop the table and turn on the archiving feature in ZC settings you'll get database errors during any customer activities that generate emails, and that would be bad.
If you want to delete the mod, just delete its files.
.
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.
Bookmarks