Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

PHP Fatal error: Uncaught Exception: Error: MAIL FROM not accepted from server!


Recommended Posts

Чиил уже похожие темы и никак не могу разобраться.

Чиил что лучше посылать почту через SMTP, т.к. через mail() оно у меня попадает в спам.

Домен подключен к янгдексу доменной почте.

 

Mail Engine - SMTP
SMTP хост - ssl://smtp.yandex.ru
SMTP логин - [email protected]
SMTP пароль - 
SMTP порт - 465
SMTP иймаут - 5
 

Оплаливаю товар, нажимаю кнопку возвратиться на сайт. Переходит по адресу - https://test.com/index.php?route=extension/payment/paymaster/success - им белый экран.

 

В логах nginx выдает ошибку

Спойлер
2019/03/18 14:14:50 [error] 694#694: *4780 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Exception: Error: MAIL FROM not accepted from server! in /var/www/site/system/library/mail/smtp.php:242
Stack trace:
#0 /var/www/site/system/library/mail.php(142): Mail\Smtp->send()
#1 /var/www/site/catalog/controller/mail/order.php(275): Mail->send()
#2 /var/www/site/catalog/controller/mail/order.php(34): ControllerMailOrder->add(Array, '1', '\xD0\x9E\xD0\xBF\xD0\xBB\xD0\xB0\xD1\x87\xD0\xB5\xD0\xBD\xD0...', '')
#3 /var/www/site/system/engine/action.php(79): ControllerMailOrder->index('checkout/order/...', Array)
#4 /var/www/site/system/engine/event.php(62): Action->execute(Object(Registry), Array)
#5 /var/www/site/system/engine/loader.php(229): Event->trigger('model/checkout/...', Array)
#6 /var/www/site/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#7 /var/www/site/catalog/controller/extension/payment/paymaster.php(237): Proxy->__call('addOrderHistory', Array)
#8 /var/w" while reading response header from upstream, client: , server: site.com, request: "POST /index.php?route=extension/payment/paymaster/callback HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "site.com"

 

 

Пропотому чтовал разные способы, не помогло.

Edited by Alex5557
Link to comment
Share on other sites


8 минут назад, Alex5557 сказал:

Раньше стояли разные email сейчас сгделал один.

 

4 минуты назад, Alex5557 сказал:

Ура зарилиило, когда игрался с параметрами убрал ssl:// теперьь добавил и все рилииет)

 

Должна быть одинаковая поли, тогда и бугдет все ок отправлять.

Это опотому чтобщаюещёе сообещёние, для потомков)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.