SMTP "Error: DATA not accepted from server!" Opencart 2.3 on InMotionHosting

Viewed 7887

I've installed a brand new Opencart 2.3.0.2 on Inmotionhosting with all default settings except MAIL settings which I've tried many different combinations. Although it shows the "Error: DATA not accepted from server!", but it sends mail successfully!

Hosting support center says that all everything is OK, so it should be a coding issue!

Mail Setting:

Mail Protocol: SMTP
Mail Parameters: -fnoreply@mywebsite.com
SMTP Hostname: mail.mywebsite.com
SMTP Username: noreply@mywebsite.com
SMTP Password: ********
SMTP Port: 587
SMTP Timeout: 5

Full Error details:

Fatal error:  Uncaught exception 'Exception' with message 'Error: DATA not accepted from server!' in /home/mywebsite/public_html/mywebsite.com/oc/system/library/mail.php:409
Stack trace:
#0 /home/mywebsite/public_html/mywebsite.com/oc/catalog/model/account/customer.php(81): Mail->send()
#1 [internal function]: ModelAccountCustomer->addCustomer(Array)
#2 /home/mywebsite/public_html/mywebsite.com/oc/system/engine/loader.php(178): call_user_func_array(Array, Array)
#3 [internal function]: Loader->{closure}(Array, Array)
#4 /home/mywebsite/public_html/mywebsite.com/oc/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#5 /home/mywebsite/public_html/mywebsite.com/oc/catalog/controller/account/register.php(21): Proxy->__call('addCustomer', Array)
#6 /home/mywebsite/public_html/mywebsite.com/oc/catalog/controller/account/register.php(21): Proxy->addCustomer(Array)
#7 [internal function]: ControllerAccountRegister->index()
#8 /home/mywebsite/public_html/mywebsite.com/oc/system/engine/action.php(51): call_user_func_array(Array, Array)
#9 /home/sabour in /home/mywebsite/public_html/mywebsite.com/oc/system/library/mail.php on line 409

Any idea how to get rid of this error?

2 Answers
Related