I have downloaded the latest version 1.5.1.3 and am testing on Unix and Windows servers
One minor issue I found is that the logo is not being included in the order confirmation email.
I changed the "send()" public function in system\library\mail.php
from
Code: Select all
foreach ($this->attachments as $attachment) {
if (file_exists($attachment['file'])) {
$handle = fopen($attachment['file'], 'r');
$content = fread($handle, filesize($attachment['file']));
fclose($handle);
$message .= '--' . $boundary . $this->newline;
$message .= 'Content-Type: application/octetstream; name="' . basename($attachment['file']) . '"' . $this->newline;
$message .= 'Content-Transfer-Encoding: base64' . $this->newline;
$message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline;
$message .= 'Content-ID: <' . basename($attachment['filename']) . '>' . $this->newline;
$message .= 'X-Attachment-Id: ' . basename($attachment['filename']) . $this->newline . $this->newline;
$message .= chunk_split(base64_encode($content));
}
}
Code: Select all
foreach ($this->attachments as $attachment) {
if (file_exists($attachment['file'])) {
$handle = fopen($attachment['file'], 'r');
$fil = basename($attachment['file']);
$ext = pathinfo($fil, PATHINFO_EXTENSION);
$content = fread($handle, filesize($attachment['file']));
fclose($handle);
$message .= '--' . $boundary . $this->newline;
$message .= 'Content-Type: image/' .$ext . '; name="' . $fil . '"' . $this->newline;
$message .= 'Content-Transfer-Encoding: base64' . $this->newline;
$message .= 'Content-Disposition: inline; filename="' . $fil . '"' . $this->newline;
$message .= 'Content-ID: <' . md5($fil) . '>' . $this->newline;
$message .= 'X-Attachment-Id: ' . $fil . $this->newline . $this->newline;
$message .= chunk_split(base64_encode($content));
}
}