![]() |
images in confirmation emails as links not attachments
Not sure if this is a issue related because im using 4.0.5 or not but if anyone has come across this before please let me know.
I've noticed that in the HTML emails that get sent out with order confirmations the images like company logo , any spacers I have are sent as attachments with the emails so in some cases these are adding spam points to some spam filters. Does anyone know how to change it so that the images are linked to whats held on our server rather than attached, there is nothing in order_invoice.tpl that indicates so I assume it's in one of the php files somewhere. |
Re: images in confirmation emails as links not attachments
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") { and replace with Code:
/* so basicilly you have just commented out that section of code in include/func.php and then in skin1/mail/html replace all Code:
{$ImagesDir} Code:
{$http_location}/skin1/images/ 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 |
Re: images in confirmation emails as links not attachments
Just wanted to confirm and update this for 4.1.9.
now the PHP file is under include/func/func.mail.php I commented this line: Quote:
And then, in the email template files, I replaced Quote:
with Quote:
(be careful of the trailing slash -- you may get doubles "//" I haven't had any secure pages, but it seems to have worked fine for all regular non-secure emails. |
All times are GMT -8. The time now is 06:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.