ladygodiva, while their points are valid in the context in which they've read the message and their understanding of what can be done, it's clear everyone reading your requests has totally missed your specific point, or they don't know how to adjust its operation. And that's fine ... for them.
The email capability has intentionally been written to force outbound messages for non-customers to TEXT format ... for the reasons discussed above, and a few others.
However, that doesn't mean you can't change it for your site specifically.
So, here goes, but with a disclaimer first, in case people following along foolishly think this is a smart way to put on a bandage but end up shooting themselves in the foot instead ...
DO NOT DO THIS IF YOU'RE LOOKING FOR A BLANKET "FIX" to get HTML messages sending from your site. If you're not getting HTML emails, you're looking in the WRONG PLACE.
LOOK HERE INSTEAD: http://www.zen-cart.com/wiki/index.p...Email_Problems
To force outgoing GV emails to be in HTML mode regardless of customer preference, find line 120 in your /includes/functions/functions_email.php file, where the following section of code appears, and insert the highlighted lines as shown:
Code:
//determine what format to send messages in if this is an "extra"/admin-copy email:
if (ADMIN_EXTRA_EMAIL_FORMAT == 'TEXT' && substr($module,-6)=='_extra') {
$email_html=''; // just blank out the html portion if admin has selected text-only mode
}
if ($customers_email_format != 'HTML' && $email_html != '' && ($module == 'gv_send' || $module == 'gv_mail')) {
$customers_email_format = 'HTML';
}
//notifier intercept option
$zco_notifier->notify('NOTIFY_EMAIL_AFTER_EMAIL_FORMAT_DETERMINED');
Bookmarks