Sorry to reply to my own post but x-cart provided me with a fix and so for the benefit of others here it is.
in include/func.php find this code
Code:
if($config["Email"]["html_mail"] == "Y") {
list($mail_message, $tmp) = func_attach_images($mail_message);
if(!empty($tmp)) {
foreach($tmp as $k => $v)
$files[] = $v;
}
}
and replace with
Code:
/*
if($config["Email"]["html_mail"] == "Y") {
list($mail_message, $tmp) = func_attach_images($mail_message);
if(!empty($tmp)) {
foreach($tmp as $k => $v)
$files[] = $v;
}
}
*/
so basicilly you have just commented out that section of code in include/func.php
and then in skin1/mail/html replace all
with
Code:
{$http_location}/skin1/images/
or if you are using https in the section where invoices are shown on your x-cart site
Code:
{$https_location}/skin1/images/
the easiest way is just to do a search and replace in dreamweaver on the whole skin1/mail/html/ folder
and it should all work fine now without the emails having logos etc as attachments