The problem is that when a gift voucher is purchased the email that is sent fails to show either the theme image, or the store logo.
This occurs when the email option under Admin/System is set to either Email or SMTP (I have moved to SMTP to ensure that the sender is shown as my domain, previously the sender was coming through as MYNAME@h153.cpanellogin.net, when it should be ANOTHERNAME@haguepublishing.com).
I am in the process of developing my store. I am using 1.5.1.3 upgraded from 1.5.1.0 with Author Module 1.5 installed (version for 1.5.1.3).
Any advice would be appreciated. I am aware that Miranda listed this as issue 563 but no solution was presented. The only comment was that this was due to the mail client.
Andrew
This occurs when the email option under Admin/System is set to either Email or SMTP (I have moved to SMTP to ensure that the sender is shown as my domain, previously the sender was coming through as MYNAME@h153.cpanellogin.net, when it should be ANOTHERNAME@haguepublishing.com).
I am in the process of developing my store. I am using 1.5.1.3 upgraded from 1.5.1.0 with Author Module 1.5 installed (version for 1.5.1.3).
Any advice would be appreciated. I am aware that Miranda listed this as issue 563 but no solution was presented. The only comment was that this was due to the mail client.
Andrew
Are you using the Dedicated hosting? Since opencart adds the logo/image as attachment, some email servers will mark them as suspect (SPAM) and so the email client won't display the images. You can open the email header and see the settings.
I had the same problem with one of my client after moving to dedicated hosting. The solution was to use the https link back to the site instead of embedding in the email.
I had the same problem with one of my client after moving to dedicated hosting. The solution was to use the https link back to the site instead of embedding in the email.
Extensions: Multi-vendor extension
Shipping Modules: SuperShip Pro
Multi-Vendor Marketplace:Opencartmarketplace.com
IceCat to Opencart: Import millions of IceCat products to Opencart
Not sure what Dedicated hosting is. However, I have included the header from the email for information. I have whitelisted the address in my Spam filter so it shouldn't be a problem. How can I use the https link back to the site instead of embedding in the email?
-------- HEADER --------
From: - Mon Dec 26 16:52:19 2011
X-Account-Key: account2
X-UIDL: UID9928-1235999957
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Received: (qmail 23377 invoked from network); 26 Dec 2011 00:52:06 -0800
Received: from asp.reflexion.net (69.84.129.233) by h104.plesklogin.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Dec 2011 00:52:05 -0800
Received: (qmail 2353 invoked from network); 26 Dec 2011 08:52:04 -0000
Received: from unknown (HELO mail-is-05.app.dca.reflexion.local) (10.81.14.5) by 0 (rfx-qmail) with SMTP; 26 Dec 2011 08:52:04 -0000
Received: by mail-is-05.app.dca.reflexion.local (Reflexion email security v6.60.3) with SMTP; Mon, 26 Dec 2011 03:52:04 -0500 (EST)
Received: (qmail 5922 invoked from network); 26 Dec 2011 08:52:03 -0000
Received: from unknown (HELO h153.cpanellogin.net) (68.64.155.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Dec 2011 08:52:03 -0000
Received: from h153.cpanellogin.net ([68.64.155.71] helo=haguepublishing.com) by h153.cpanellogin.net with esmtpa (Exim 4.69) (envelope-from <MYNAMEt@haguepublishing.com>) id 1Rf6Hq-0004TF-CK for ANOTHERNAME@konomex.com; Mon, 26 Dec 2011 00:52:02 -0800
MIME-Version: 1.0
To: <ANOTHERNAME@konomex.com>
Subject: You have been sent a gift voucher
Date: Mon, 26 Dec 2011 08:52:02 +0000
From: Hague Publishing<NAME@haguepublishing.com>
Reply-To: Hague Publishing<NAME@haguepublishing.com>
X-Mailer: PHP/5.3.6
Content-Type: multipart/related; boundary="----=_NextPart_58d9aa043207e0972d98298da3ddce22"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - h153.cpanellogin.net
X-AntiAbuse: Original Domain - konomex.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - haguepublishing.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Rfx-Message-Id: 2053817134/6363672822/0001
X-Rfx-Recipient-Address: NAME@konomex.com
Andrew
-------- HEADER --------
From: - Mon Dec 26 16:52:19 2011
X-Account-Key: account2
X-UIDL: UID9928-1235999957
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Received: (qmail 23377 invoked from network); 26 Dec 2011 00:52:06 -0800
Received: from asp.reflexion.net (69.84.129.233) by h104.plesklogin.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Dec 2011 00:52:05 -0800
Received: (qmail 2353 invoked from network); 26 Dec 2011 08:52:04 -0000
Received: from unknown (HELO mail-is-05.app.dca.reflexion.local) (10.81.14.5) by 0 (rfx-qmail) with SMTP; 26 Dec 2011 08:52:04 -0000
Received: by mail-is-05.app.dca.reflexion.local (Reflexion email security v6.60.3) with SMTP; Mon, 26 Dec 2011 03:52:04 -0500 (EST)
Received: (qmail 5922 invoked from network); 26 Dec 2011 08:52:03 -0000
Received: from unknown (HELO h153.cpanellogin.net) (68.64.155.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Dec 2011 08:52:03 -0000
Received: from h153.cpanellogin.net ([68.64.155.71] helo=haguepublishing.com) by h153.cpanellogin.net with esmtpa (Exim 4.69) (envelope-from <MYNAMEt@haguepublishing.com>) id 1Rf6Hq-0004TF-CK for ANOTHERNAME@konomex.com; Mon, 26 Dec 2011 00:52:02 -0800
MIME-Version: 1.0
To: <ANOTHERNAME@konomex.com>
Subject: You have been sent a gift voucher
Date: Mon, 26 Dec 2011 08:52:02 +0000
From: Hague Publishing<NAME@haguepublishing.com>
Reply-To: Hague Publishing<NAME@haguepublishing.com>
X-Mailer: PHP/5.3.6
Content-Type: multipart/related; boundary="----=_NextPart_58d9aa043207e0972d98298da3ddce22"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - h153.cpanellogin.net
X-AntiAbuse: Original Domain - konomex.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - haguepublishing.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Rfx-Message-Id: 2053817134/6363672822/0001
X-Rfx-Recipient-Address: NAME@konomex.com
Andrew
I had a same problem on thunderbird and Apple mail. (Gmail is OK.)
So, I made the following correction in /system/library/mail.php. It seems solved.
around line 50.
before:
after:
around line 140.
before:
after:
around line 142.
before:
after:
I hope this helped you.
So, I made the following correction in /system/library/mail.php. It seems solved.
around line 50.
before:
Code: Select all
$this->attachments[] = array(
'filename' => $filename,
'file' => $file
);
Code: Select all
$size = getimagesize($file);
$this->attachments[] = array(
'filename' => $filename,
'file' => $file,
'mime' => $size['mime']
);
around line 140.
before:
Code: Select all
$message .= 'Content-Type: application/octetstream; name="' . basename($attachment['file']) . '"' . $this->newline;
Code: Select all
$message .= 'Content-Type: ' . $attachment['mime'] . '; name="' . basename($attachment['file']) . '"' . $this->newline;
around line 142.
before:
Code: Select all
$message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline;
Code: Select all
$message .= 'Content-Disposition: INLINE; filename="' . basename($attachment['filename']) . '"' . $this->newline;
I'm having the same issue with 1.5.2, but my code is different than yutaka mentioned...
Lines 33-53
public function setSubject($subject) {
$this->subject = $subject;
}
public function setText($text) {
$this->text = $text;
}
public function setHtml($html) {
$this->html = $html;
}
public function addAttachment($filename) {
$this->attachments[] = $filename;
}
public function send() {
if (!$this->to) {
trigger_error('Error: E-Mail to required!');
exit();
}
but the other lines are similar:
132-138
$message .= '--' . $boundary . $this->newline;
$message .= 'Content-Type: application/octet-stream; name="' . basename($attachment) . '"' . $this->newline;
$message .= 'Content-Transfer-Encoding: base64' . $this->newline;
$message .= 'Content-Disposition: attachment; filename="' . basename($attachment) . '"' . $this->newline;
$message .= 'Content-ID: <' . basename(urlencode($attachment)) . '>' . $this->newline;
$message .= 'X-Attachment-Id: ' . basename(urlencode($attachment)) . $this->newline . $this->newline;
$message .= chunk_split(base64_encode($content));
any ideas on how to change the first set of code? Any help would be greatly appreciated!!!!!
Thanks,
Michelle
Lines 33-53
public function setSubject($subject) {
$this->subject = $subject;
}
public function setText($text) {
$this->text = $text;
}
public function setHtml($html) {
$this->html = $html;
}
public function addAttachment($filename) {
$this->attachments[] = $filename;
}
public function send() {
if (!$this->to) {
trigger_error('Error: E-Mail to required!');
exit();
}
but the other lines are similar:
132-138
$message .= '--' . $boundary . $this->newline;
$message .= 'Content-Type: application/octet-stream; name="' . basename($attachment) . '"' . $this->newline;
$message .= 'Content-Transfer-Encoding: base64' . $this->newline;
$message .= 'Content-Disposition: attachment; filename="' . basename($attachment) . '"' . $this->newline;
$message .= 'Content-ID: <' . basename(urlencode($attachment)) . '>' . $this->newline;
$message .= 'X-Attachment-Id: ' . basename(urlencode($attachment)) . $this->newline . $this->newline;
$message .= chunk_split(base64_encode($content));
any ideas on how to change the first set of code? Any help would be greatly appreciated!!!!!
Thanks,
Michelle
Who is online
Users browsing this forum: Majestic-12 [Bot], o3445 and 85 guests