Page 1 of 2

"E-Mail Message required!" when I try to email newsletter

Posted: Sun Feb 08, 2015 2:36 pm
by Greg Houston
Hi, I am getting the following error when I try to email a newsletter. "E-Mail Message required!"

Any solutions? Thanks.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Tue Feb 10, 2015 5:37 am
by Greg Houston
This is on Version 2.0.0.0

Re: "E-Mail Message required!" when I try to email newslette

Posted: Tue Feb 10, 2015 8:24 pm
by pm-netti
Greg Houston wrote:This is on Version 2.0.0.0
This is bug also in version 2.0.1.1.
Do this change in file system/library/mail.php line 82:

Code: Select all

                         //exit();

Re: "E-Mail Message required!" when I try to email newslette

Posted: Wed Feb 11, 2015 1:04 am
by Greg Houston
Thanks

Re: "E-Mail Message required!" when I try to email newslette

Posted: Wed Feb 11, 2015 9:35 am
by Greg Houston
I made the suggested change yet it still didn't send an email.

Of note, Open Cart is sending order confirmation emails fine though I think it may be sending them twice.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Wed Feb 11, 2015 8:31 pm
by pm-netti
Greg Houston wrote:I made the suggested change yet it still didn't send an email.

Of note, Open Cart is sending order confirmation emails fine though I think it may be sending them twice.
What is file/site, which you are trying to send an email?

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 1:22 am
by Greg Houston
I might not understand your question. My site is http://fabledaudio.com/

I am trying to send my existing customers a newsletter about a new product and updates I have made to an older product.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 2:06 am
by pm-netti
Greg Houston wrote:I might not understand your question. My site is http://fabledaudio.com/

I am trying to send my existing customers a newsletter about a new product and updates I have made to an older product.
Ox... I think, what is your form site, (sale/..?), where newsletter sending script is..?

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 2:23 am
by Greg Houston
This is the page I am on...

/admin/index.php?route=marketing/contact&token=cbadb29490fa5b72a551ca0d3231d7d9

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 2:26 am
by Greg Houston
I think the file is admin/view/template/marketing/contact.tpl

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 2:32 am
by Greg Houston
I think it is grabbing the error text from here:

admin/language/english/marketing/contact.php

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 4:28 am
by pm-netti
Greg Houston wrote:I think it is grabbing the error text from here:

admin/language/english/marketing/contact.php
Strange is a error, I test the same.
Javascript form Check to work properly.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 5:11 am
by Greg Houston
You get the same error?

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 5:58 am
by pm-netti
Greg Houston wrote:You get the same error?
Yes. I did test offline in status, also did test //exit().
I do not know lähteekö email. But after a while, even though I removed the comment marks, so "exit ()", is no indicated an error, but "text_success" message.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 3:09 pm
by Greg Houston
Is anyone able to send out newsletters with OpenCart 2.0?

Re: "E-Mail Message required!" when I try to email newslette

Posted: Thu Feb 12, 2015 7:12 pm
by pm-netti
Greg Houston wrote:Is anyone able to send out newsletters with OpenCart 2.0?
Hi.
I did test my demo server.
This worked for me as well.
Have you changed somehow your e-mail settings in tab Mail?

Re: "E-Mail Message required!" when I try to email newslette

Posted: Fri Feb 13, 2015 12:45 am
by Greg Houston
I haven't changed any settings in that tab. The mail works fine such as notifying me of new customers and sales. It just won't let me send a newsletter.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Fri Feb 13, 2015 1:54 am
by Greg Houston
My contact form sends mail correctly as well. There appears to be something wrong with the newsletter specifically.

Re: "E-Mail Message required!" when I try to email newslette

Posted: Sat Feb 21, 2015 4:07 am
by Greg Houston
I posted a bug for this on github. https://github.com/opencart/opencart/issues/2693

Re: "E-Mail Message required!" when I try to email newslette

Posted: Mon Feb 23, 2015 5:36 am
by Greg Houston
This has been fixed in the repo. I grabbed changes from:

https://github.com/opencart/opencart/bl ... ontact.tpl

and

https://raw.githubusercontent.com/openc ... ontact.php

I'm not sure what the "// Summer not fix" comment means, but that comes right before the fix in contact.tpl.