Page 1 of 1

order confirmation email attached file no file type v1.5.1.3

Posted: Mon Nov 07, 2011 9:49 am
by Dubblicious
A friend of mine did a test buy with PayPal to see how the cart is working. When Opencart sent the order confirmation email, attached was a file, no file type just a bunch of letters and numbers, this is what the file was called
1bb87d41d15fe27b500a4bfcde01bb0e

Anyone know what this is ? ???

Re: order confirmation email attached file no file type v1.5

Posted: Mon Nov 07, 2011 11:20 am
by Avvici
What email provider are you using?

Re: order confirmation email attached file no file type v1.5

Posted: Mon Nov 07, 2011 12:50 pm
by Dubblicious
avvici wrote:What email provider are you using?
Webmail through my server, why would that matter ? It was Opencart that attached the file. The size of the file is 6.26 KB

Re: order confirmation email attached file no file type v1.5

Posted: Thu Feb 02, 2012 3:46 am
by yooperkiwi
I had the same thing happen. A 13kb file is attached to the order confirmation e-mail. The file is called 80bbf90a17494eead76af9279bc0f413. I am using godaddy webmail. In the Opencart admin, settings, mail, I have selected just "Mail" and not "SMPT".

Any advice on this? I don't know what the attachment is or how to open it, but I would love to get rid of it!

Thanks!

Re: order confirmation email attached file no file type v1.5

Posted: Thu Feb 02, 2012 12:17 pm
by dkjoy
I was able to download and open the attachement. For me, it was the image of my store's logo.

Is there a way to have the file re-named? As it is, with the name being so long and a mixt of numbers and letters, customers might be suspicious of the file.

Re: order confirmation email attached file no file type v1.5

Posted: Fri Feb 03, 2012 10:56 pm
by yooperkiwi
I wasn't able to open it. I have seen messages on here about a fix for store logo not being attached, so I'll try that in the next day or so to see if that solves the problem.

Re: order confirmation email attached file no file type v1.5

Posted: Sat Feb 04, 2012 3:14 am
by Dubblicious
yooperkiwi wrote:I wasn't able to open it. I have seen messages on here about a fix for store logo not being attached, so I'll try that in the next day or so to see if that solves the problem.
can you post your results and any links ? Thanks :D

Re: order confirmation email attached file no file type v1.5

Posted: Sat Feb 04, 2012 7:47 am
by hamburgler
This can happen if you remove your store's logo from the template file. If you don't want to include an attached logo you can comment out the following code on line ~435 of catalog/model/checkout/order.php

Code: Select all

$mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo'), md5(basename($this->config->get('config_logo'))));
Working in 1.5.1.3

Re: order confirmation email attached file no file type v1.5

Posted: Wed Feb 08, 2012 12:30 am
by dkjoy
Is there a way to rename the file? I like having the logo appear as part of the email. Thanks in advance for any help!

Re: order confirmation email attached file no file type v1.5

Posted: Tue Feb 21, 2012 6:15 pm
by Avvici
Do what he said and comment out that line. As you can see, it's addAttachment which you don't need.

Just include your logo as an image in the template file. Easy Peasy.

Re: order confirmation email attached file no file type v1.5

Posted: Sat Mar 17, 2012 8:05 am
by musashi
in addition to removing the line mentioned earlier

catalog/model/checkout/order.php
line 233:

Code: Select all

$template->data['logo'] = 'cid:' . md5(basename($this->config->get('config_logo')));
change to:

Code: Select all

$template->data['logo'] = $order_info['store_url'].'image/data/IMAGENAME';
'image/data/IMAGENAME' may be different depending on the location of your logo.