Stock Zen Cart 1.55f, php 7.1
Admin -> Configuration -> E-Mail Options
Select Enable HTML Emails? is set to true
Select Email Admin Format? is set to HTML
Admin emails sent as HTML have no problem sending/tracking etc.
However, when I get the notification from admin it displays the following in the body of the email:
Admin Alert: New admin user added $EMAIL_MESSAGE_HTML
Copyright (c) 2018 etc...
line 175 of includes/functions/admin_access.php
Shows it is not printing the sprintf line found here:PHP Code:zen_record_admin_activity(sprintf(TEXT_EMAIL_MESSAGE_ADMIN_USER_ADDED, $newname, $admname), 'warning');
zen_mail(STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER_EMAIL_ADDRESS, TEXT_EMAIL_SUBJECT_ADMIN_USER_ADDED, sprintf(TEXT_EMAIL_MESSAGE_ADMIN_USER_ADDED, $newname, $admname), STORE_NAME, EMAIL_FROM, array(),
admin/includes/languages/english/email_extras.php
I can not find a solution to this problem and it's a brand new cart. I've also compared the files to originals from the 1.55f zip - they match the stock files.PHP Code:define('TEXT_EMAIL_MESSAGE_ADMIN_USER_ADDED', 'Administrative alert: A new admin user (%s) has been ADDED to your store by %s.' . "\n\n" . 'If you or an authorized administrator did not initiate this change, it is advised that you verify your site security immediately.');
Does anyone have a solution?
Thanks!


Reply With Quote

