Post by welle93 » Mon Jul 13, 2015 5:31 pm

hey

i got a mail problem, the shop sents both contact mail and new customer mails, but not ordre mails.

in error log i got this : PHP Notice: Error: DATA not accepted from server! in ..../vqmod/vqcache/vq2-system_library_mail.php on line 380

in line 380 is this:

Code: Select all

if (substr($reply, 0, 3) != 250) {
					trigger_error('Error: DATA not accepted from server!');
					exit();						
				}
Any one know how i can fix this? :)

New member

Posts

Joined
Mon Dec 02, 2013 5:54 pm

Post by jtkmobile » Thu Sep 03, 2015 12:00 am

Hello,

I have exactly the same problem with OC 2.0.3.1

Did you find an answer?

Regards,
John

Newbie

Posts

Joined
Wed Sep 02, 2015 11:58 pm

Post by psycmos » Thu Nov 19, 2015 10:11 pm

Notice: Error: DATA not accepted from server! in public_html/system/library/mail.php on line 380
In My email i have the SMTP configs with SSL you can google it and use your configs without problem, because this problem come from opencart.

Opencart mail problem when use contact-us page, can't send email.

This FIX works well, in 1.5.x.

GO TO \catalog\controller\information\contact.php and locate:
$mail->setFrom($this->request->post['email']);
$mail->setSender($this->request->post['name']);


Replace with:

$mail->setFrom($this->config->get('config_email'));
$mail->setSender($this->request->post['email']);

Source:
https://opencartforum.com/topic/23861-% ... %82/page-2

Thanks to sergeyvasin

New member

Posts

Joined
Mon Nov 26, 2012 7:31 pm

Post by mRAlecs » Sun Feb 21, 2016 9:54 pm

Did anybody resolve this problem ?

I cannot send any e-mails. Not user registration, order confirmation, cannot use the contact form.
always i get in error log:
PHP Notice: Error: DATA not accepted from server! in /system/library/mail.php on line 418

I have to point out that my hoster has this SMTP check.

I have managed to send only one e-mail in the customer form, i used my office@tonerland... account.
and this office being the same account in the mail configuration, it worked.

My settings are:
Protocol: SMTP
SMTP Hostname: localhost
SMTP Username: office@tonerland....
SMTP Password: it is ok
SMTP Port: 587


i used the same settings into an outlook account and it works. But not in Opencart.
Anyone any ideas ?

Thank you

Newbie

Posts

Joined
Sun Feb 21, 2016 9:45 pm

Post by victorj » Mon Feb 22, 2016 12:13 am

change:

SMTP Hostname: localhost

to

SMTP Hostname: mail.yourdomain.com

also check if youre using the right smtp port, normally its 25

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by mRAlecs » Mon Feb 22, 2016 2:54 am

Thank you for fast reply.

I have tried also with mail.domain but the same thing. the port is ok.
Hoster told me the configuration is ok with localhost and the port is the right one for sure.

I have found a discussin that is exactly as my problem but did not manage to work the solution.
https://github.com/opencart/opencart/issues/3756

thanks,
Alexandru

Newbie

Posts

Joined
Sun Feb 21, 2016 9:45 pm
Who is online

Users browsing this forum: No registered users and 296 guests