Page 4 of 4

Re: Error: E-Mail Message required!

Posted: Wed Jan 29, 2014 10:15 am
by smartycutie
BYOCODE is freaking awesome, usually when I have a problem it takes an hour or more to fix it, this was spot on and only took a few minutes! All hail Byocode!!!

Re: Error: E-Mail Message required!

Posted: Wed Jan 29, 2014 11:36 am
by nvedia
Thanks Byocode! I came here searching for the same issue and its fixed after doing the recommended change

Re: Error: E-Mail Message required!

Posted: Fri Nov 07, 2014 7:05 pm
by jirosaja
I used OC 2.0 and I have the same problem that "E-Mail Message Required". I tried to use extension and code here to solve. But there's no solution. Anyone may help me to solve this? thank in advance..

Re: Error: E-Mail Message required!

Posted: Fri Jan 16, 2015 8:14 pm
by lcsoftware
for version 2.0 add the following to file admin/view/template/marketing/contact.tpl on line 198

Change:

—————————————————————————————————-
function send(url) {
$.ajax({
—————————————————————————————————-

To:
—————————————————————————————————-
function send(url) {
$(‘#content textarea’).val($(‘div.note-editable’).html());
$.ajax({
—————————————————————————————————-

This will update the original textarea from the note editor

Re: Error: E-Mail Message required!

Posted: Fri Feb 27, 2015 1:31 am
by kike1975
Thanks. The issue has been solved in my site with $('textarea[name=\'message\']').html(CKEDITOR.instances.message.getData()); solution.

Re: Error: E-Mail Message required!

Posted: Tue Mar 10, 2015 12:20 pm
by farizaizan
from My OpenCart customer register and buy my items, no email from opencart come to my email. why? help me ...

Re: Error: E-Mail Message required!

Posted: Sat Mar 14, 2015 11:35 pm
by nikhil0001
@lcsoftware

When i am trying to do the same changes on my 2.0 opencart then its not working. It just goes blank and does not move further and there is no mail send. Can you please look into this and help me resolving this problem?

Re: Error: E-Mail Message required!

Posted: Sun Dec 06, 2015 8:16 am
by igneo
hola a todos, una consulta, en mi caso OC156version, deseo hacer un envío de unos 1000 usuarios y solo me confirma 200.
desde donde puedo ampliar esa capacidad de envio ? SQL, PHP ? muchas gracias.


hi, i need send at 1000 user via email system admin, but only send confirm at 200 users?
any help me about this. its about SQL or PHP ? thanks a lot

Re: Error: E-Mail Message required!

Posted: Mon Sep 18, 2023 7:43 pm
by faizanyasn
Make sure that before $mail->send() it is set as HTML or text.
Text
$mail->setText($this->load->view('mail/sample_template', $data));
OR Html
$mail->setHtml($this->load->view('mail/sample_template', $data));