Nefunkční emaily
Dobrý den, na doméně www.mkmodel.eu Připravuji eshop na platformě Prestashop verze 1.7.7.1 (PHP 7.3.26), již mám vše nastavené a rád bych testoval, ale nedaří se mi odeslat emaily, takže nemohu provést zkušební objednávky.
Smtp, porty atd je nastavené správně.
Našel jsem v diskuzi podobné dotazy, ale i když tam bylo vyřešeno, odpověd na problém jsem nedohledal.
„Expected response code 354 but got code „554“, with message „554 5.5.1 Error: no valid recipients „
Prosím nevíte co s tím?
Děkuji,
Jakub Novák
3 Answers
Dobrý den, mám stejný problém. Jen k té funkci mail() píšou tohle:
Prestashop 1.7.7.x
Since we updated Swiftmailer, the class Swift_Transport_MailTransport
which was using the mail()
function is not available anymore because it has been removed for security reasons. Instead we are relying on the class Swift_Transport_SendmailTransport
which use /usr/sbin/sendmail
. Even if that change has been made a few months ago, the Back Office options didn’t reflect that change. This PR aims to change the wording according to that change.
Pak jsem k tomu našel tohle:
After further investigation, it looks like the root cause of this issue is that we’re not using the mail() function anymore for security reasons and using /usr/sbin/sendmail instead, which led to use proc_open.“
I’ve had to take proc_open out of my disable_functions within my php.ini and now sendmail is sending email
Není možné, že je to tím?
Díky.
Martin Hanuš