Post by fdarn » Fri Oct 23, 2015 12:06 am

I am using opencart 2.03

This error shows up in the error log when customers place an order. It also shows up in a pop up window when I update the order status.

2015-10-22 16:02:31 - PHP Notice: Error: DATA not accepted from server! in /home/holsters/public_html/system/library/mail.php on line 418

New member

Posts

Joined
Mon Oct 14, 2013 8:40 pm

Post by OSWorX » Fri Oct 23, 2015 12:37 am

That simply means .. basically nothing, because error messages in OpenCart are sometimes that kind of useless that it would be better to let 'em ..

From what I can see (line 418) that error can mean everything, but based on that, that you are using SMTP, one or more settings are not valid.

If you know how to edit a file, you could replace the line 418 with that here:

Code: Select all

trigger_error('Error: DATA not accepted from server - code [' . $reply . ']');
This will display the return code.
And to check what is returned, you can see here all codes:
http://www.serversmtp.com/en/smtp-error

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by fogma » Sat Nov 28, 2015 6:43 pm

I've just noticed this problem.

The $reply code was empty when I reproduced the issue, so I increased the timeout from 5 seconds to 30 seconds (to match what I've got set on my other opencart shops) and I think the problem has gone away.

More testing will confirm.....

New member

Posts

Joined
Wed Aug 13, 2008 4:16 am

Post by haxcop » Thu Dec 03, 2015 6:34 am

Well I have added the code line that suggest @oswork and now it shows me this error PHP Notice: Error: DATA not accepted from server! - code [554 Message rejected: Email address is not verified.]

It's weird because i can send emails with the email option, and also i receive the notifications for sales and new customer... this only happens for Contact_us form. with and without the re-captcha available.

any other suggestions ?
Regards!.
:drunk:

Save Time and the hassle of the legal stuff on your site with this Amazing Guys of
Iubenda http://bit.ly/2xKZBKh


New member

Posts

Joined
Tue Jan 14, 2014 9:38 pm
Location - Dublin

Post by fogma » Thu Dec 03, 2015 6:40 am

Emails sent via the contact form are sent with the from address set to the customer's address.

Your mail server may be complaining that the "from" address does not match the email address of the account the server is associated with.

Try putting in an email address that is @the domain the mail server is expecting. For example if the mail server is dealing with the fred@example.com account, then send a contact us email with the "from" name set to fred@example.com. I bet that will work....

Gary

New member

Posts

Joined
Wed Aug 13, 2008 4:16 am

Post by haxcop » Thu Dec 03, 2015 7:00 am

fogma wrote:Emails sent via the contact form are sent with the from address set to the customer's address.

Try putting in an email address that is @the domain the mail server is expecting. For example if the mail server is dealing with the fred@example.com account, then send a contact us email with the "from" name set to fred@example.com. I bet that will work....

Gary
Thanks Gary, this works but the problem is, everyone has a different email address. so, how would be a solution?. current exchange server is AWS-SES

??? :drunk:
Haxcop

Save Time and the hassle of the legal stuff on your site with this Amazing Guys of
Iubenda http://bit.ly/2xKZBKh


New member

Posts

Joined
Tue Jan 14, 2014 9:38 pm
Location - Dublin

Post by fogma » Thu Dec 03, 2015 7:06 am

You'll either need to change the opencart code to set the from email address to be one that the mail server will accept.

Or

You'll have to use a different mail server that is less fussy about the "from" address.

Gary

New member

Posts

Joined
Wed Aug 13, 2008 4:16 am

Post by haxcop » Thu Dec 03, 2015 7:28 am

fogma wrote:You'll either need to change the opencart code to set the from email address to be one that the mail server will accept.

Or

You'll have to use a different mail server that is less fussy about the "from" address.

Gary
Hi Gary, you are right, really weird this behaviour from AWS-SES - i choose this provider because it has less bounce rate than Microsoft, Gmail and Mandrill... But due to this I just have changed back to Mandrill and Wuala! Works without any issue. ::)
Thanks again Gary! I

Save Time and the hassle of the legal stuff on your site with this Amazing Guys of
Iubenda http://bit.ly/2xKZBKh


New member

Posts

Joined
Tue Jan 14, 2014 9:38 pm
Location - Dublin

Post by fogma » Thu Dec 03, 2015 7:33 am

They have clearly configured the server to reject email that could be sent by spammers. It is very common for spammers to send emails with a different from address. It is far far less common for "normal" users to change the from address.

Gary

New member

Posts

Joined
Wed Aug 13, 2008 4:16 am
Who is online

Users browsing this forum: No registered users and 8 guests