Post by gkasios » Tue Jan 08, 2013 2:09 am

Problem: I can't get any email from Opencart because my webhosting provider has a spam like system that consider opencart emails as spams. Thats their responce

- The From line has been encoded but can already be expressed in US-ASCII so you'd need to correct this(should i remove base64_encode where From is?)
- Your email seems to be using an image to display email content instead of text which prevents filtering

is there any better solution? I should also tell you first that with a test mail php file i made and used everything works also i tried both Mail and SMTP options with no erros but without getting an email outside my server ( if the recipient is someone on my server i get the email so the problem is their spam software). TY for your time

ok don't bother i found the problem ;D

Solution

The problem is in the file system/library/mail.php on line 93 it is missing a space before <
Original:

Code: Select all

$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
Altered:

Code: Select all

$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . ' <' . $this->from . '>' . $this->newline;
I hope this will help others too ;D

User avatar
New member

Posts

Joined
Tue Jan 08, 2013 1:57 am

Who is online

Users browsing this forum: No registered users and 135 guests