Guest Posted April 3, 2007 Posted April 3, 2007 calss email (classes/email.php) can embed images in e-mail body when HTML-email enabled ( fuctions find_html_images etc). in function add_html there are 3d parameter (NULL by default) - directory in which search image and embed image if image file exist. But code in function tep_mail (in general.php both for catalog and admin) if (EMAIL_USE_HTML == 'true') { $message->add_html($email_text, $text); } else { $message->add_text($text); } add_html called without image dir. If change code to ... $message->add_html($email_text, $text,DIR_WS_IMAGES); ... images work OK. Question is - it's bug in code or this feature disabled and if disabled then why (security bugs etc)?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.