Page 1 of 1
Marketing mail not working
Posted: Thu Jan 11, 2018 2:42 am
by Busta1066
Hi Guys,
Marketing mail is not working for me! I am unable to send emails - When i click send this error message appears "E-Mail Message required!" when there is a test email inserted in to the message box. I am using CKeditor and OC Version 3.0.2.0. Any help would be amazing as this is driving me crazy.
- Note -
I have been searching for a week and still have not been able to solve this.
Thanks in advance
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 7:28 am
by straightlight
Does the message appears with a blank screen or the layout is still intact with the error message provided?
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 7:34 am
by Busta1066
Thanks for the reply.
Upon clicking send the message is still intact and visible in the messaging area. The error is the generated warning sign under the message box in red. It would be the same error message you would get if you leave that messaging area blank and clicked send.
Thanks straightlight
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 7:56 am
by straightlight
In your admin/controller/marketing/contact.php file,
find:
Code: Select all
if (!$this->request->post['subject']) {
$json['error']['subject'] = $this->language->get('error_subject');
}
add above:
Code: Select all
foreach ($this->request->post as $key => $val) {
$this->log->write("Admin Marketing :: Contact :: DEBUG :: " . $key . " => " . $val);
}
Then, try again with the contact form. Afterwards, see your admin - > systems - > maintenance - > error logs page for lines beginning with:
Code: Select all
Admin Marketing :: Contact :: DEBUG ::
Paste each lines your next reply.
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 8:29 am
by Busta1066
Hi,
Well i did everything you told me to do, but it did not give any errors to show you. Error log is turned on in settings and i followed your instructions to the letter.
Regards
Busta
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 8:31 am
by straightlight
Ensure your error logs are enabled from your admin - > systems - > settings - > edit settings - > server tab.
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 8:36 am
by Busta1066
Hi,
All my error logs are turned on in admin, but i am still unable to get any data
Regards
Busta
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 8:52 am
by straightlight
It might be a cache related issue while using the CKEditor. Ensure your system/storage folder is located outside of your public_html folder and to edit your config.php and admin/config.php file for the new location of the DIR_STORAGE . Also remove the entire line where the ^system/storage's entire line from your .htaccess file. Then, clear your OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the problem.
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 6:22 pm
by Busta1066
Hi,
Thanks for the help. I tried everything you told me to do, but still i get the same message. It's like the system is not registering my message. I have provided a screen shot so you can see more or what im talking about.
Regards
Busta
Re: Marketing mail not working
Posted: Thu Jan 11, 2018 6:45 pm
by straightlight
Might be an issue with CKEditor. See from the categories and products in the admin if the same issue occurs. If so, to look if there's an extension on the marketplace for rich text editors that could replace the one being used from the core noticing different results while you post.
You can also try the following in your admin/controller/marketing/contact.php file after the <?php line:
Clear your OC cache and notice if the
test123 appears on top of your page in the contact page. If not, contact your host.
Re: Marketing mail not working
Posted: Sun Sep 13, 2020 6:14 pm
by fietsknecht
Had the same problem. Disabled CKeditor and now it works. Still looking for a real solution...
Re: Marketing mail not working
Posted: Sun Sep 13, 2020 7:44 pm
by straightlight
Already fixed on the master branch.