Page 2 of 3
Re: Notice: Error: E-Mail to required!
Posted: Thu Apr 09, 2015 6:48 pm
by N1kko
Awesome! Working now. You are da man LOL
Must have missed something I replaced
Code: Select all
$mail->setSubject($this->language->get('text_new_customer'));
$mail->setText($message);
$mail->send();
with
Code: Select all
$mail->setSubject($this->language->get('text_new_customer'));
$mail->setText($message);
$mail->setTo($this->config->get('config_email'));
$mail->setFrom($this->config->get('config_email'));
$mail->setSender($this->config->get('config_name'));
$mail->send();
Re: Notice: Error: E-Mail to required!
Posted: Thu Apr 09, 2015 6:53 pm
by osexperts
Nope, you didnt miss anything. I missed it in the first post:)
The Oc 2.x email related things are even more messed up then I thought. Seems that nobody never ever bothered testing it!
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Thu Apr 09, 2015 7:06 pm
by N1kko
Thanks for your help. Maybe it will be fixed in the next update.
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Fri Apr 10, 2015 10:04 pm
by haxcop
Thanks you Guys! this solved my OC Issue.
Thanks very Much!

Re: Notice: Error: E-Mail to required! SOLVED
Posted: Tue Apr 21, 2015 12:17 am
by midlifedesign
brilliant solved my problem too!!
genius - One virtual beer owed!!
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Tue Apr 21, 2015 5:58 pm
by localproduce
worked for me.
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Mon Apr 27, 2015 1:12 am
by drezh
A big Thank you to "osexperts"
I had same problem, but with your solution now all work fine.
Thank !!
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Mon Apr 27, 2015 3:19 pm
by alex9pro
Thank you
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Thu May 07, 2015 6:41 am
by HCGeek
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Sun May 10, 2015 6:07 am
by erhangazi84
worked for me, thanks... But, i had to read all the posts carefully. So, the moderator of the site should take the solution into the first or last message as clean as possible.
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Thu May 14, 2015 8:54 pm
by Manus
Thanks HCGeek, worked like a charm!!
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Tue May 19, 2015 12:20 am
by natlia
Thank you! it work for me
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Fri May 29, 2015 7:17 pm
by erhangazi84
hello
There is an update. OpenCart 2.0.3.1
as i checked and tested, this update solved this e-mail problem.
i just wanted to give you this good news.
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Tue Jun 02, 2015 8:15 pm
by egyshow
Thank you! it work for me also
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Sat Jun 06, 2015 8:11 pm
by Kenberne1965
Thank you very much this has finally put an end to the error I was experiencing with register account before checkout!
http://forum.opencart.com/viewtopic.php?f=190&t=143766
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Thu Jun 11, 2015 4:45 pm
by greatway
yes thank you worked for my and solved the issue
Re: Notice: Error: E-Mail to required!
Posted: Fri Jul 10, 2015 7:14 pm
by Gers
N1kko wrote:
Edit this file:
catalog/model/account/customer.php
And replace:
Code: Select all
$mail->setSubject($this->language->get('text_new_customer'));
$mail->setText($message);
$mail->send();
with:
Code: Select all
$mail->setSubject($this->language->get('text_new_customer'));
$mail->setText($message);
$mail->setTo($this->config->get('config_email'));
$mail->setFrom($this->config->get('config_email'));
$mail->setSender($this->config->get('config_name'));
$mail->send();
Thanks!!
This fix the error when submitting the form "new account/member registration"

Re: Notice: Error: E-Mail to required! SOLVED
Posted: Wed Jul 29, 2015 1:29 pm
by glommy.rm
Hi,
I've followed all instructions but still get the following error:
PHP Notice: Error: E-Mail to required! in /home/maxoraadmin/public_html/system/library/mail.php on line 61
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Wed Jul 29, 2015 2:35 pm
by glommy.rm
Re: Notice: Error: E-Mail to required! SOLVED
Posted: Sat Aug 08, 2015 4:21 pm
by neeraj10786
Hi,
I have same problem .. 3 days back installed opencart version 2.0.2 on server..
I am not getting any new order mail, notification, new account notification etc.
Asked to hosting provider.. they said here all the things are Okay we can see mails working properly from our server.. may be some opencart issue
please suggest me any solution of this