Evolution #1465
closedSwift exception error
100%
Description
Fatal error: Uncaught Swift_TransportException: Expected response code 250 but got code "451", with message "451-Requested action aborted 451 Mails per session limit exceeded. " in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php:386 Stack trace: #0 /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('451-Requested a...', Array) #1 /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <con...', Array, Array) #2 /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(326): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <con...', Array) #3 /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransp in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 386
Updated by Simon almost 2 years ago
[10-Jan-2023 14:16:03 Europe/Madrid] PHP Fatal error: Uncaught Swift_TransportException: Expected response code 250 but got code "451", with message "451-Requested action aborted
451 Mails per session limit exceeded.
" in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php:386
Stack trace:
#0 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('451-Requested a...', Array)
#1 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <con...', Array, Array)
#2 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(326): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <con...', Array)
#3 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransp in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 386
[10-Jan-2023 14:16:19 Europe/Madrid] PHP Fatal error: Uncaught Swift_TransportException: Expected response code 250 but got code "451", with message "451-Requested action aborted
451 Mails per session limit exceeded.
" in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php:386
Stack trace:
#0 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('451-Requested a...', Array)
#1 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <con...', Array, Array)
#2 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(326): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <con...', Array)
#3 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransp in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 386
[10-Jan-2023 14:16:41 Europe/Madrid] PHP Fatal error: Uncaught Swift_TransportException: Expected response code 250 but got code "451", with message "451-Requested action aborted
451 Mails per session limit exceeded.
" in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php:386
Stack trace:
#0 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('451-Requested a...', Array)
#1 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <con...', Array, Array)
#2 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(326): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <con...', Array)
#3 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransp in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 386
Updated by Simon almost 2 years ago
Updated by Simon almost 2 years ago
Simon wrote:
Fatal error: Uncaught Swift_TransportException: Expected response code 250 but got code "451", with message "451-Requested action aborted 451 Mails per session limit exceeded. " in /linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php:386 Stack trace: #0 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('451-Requested a...', Array) #1 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <con...', Array, Array) #2 /lib/vendor/swift/lib/classes/Swift/Transport/EsmtpTransport.php(326): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <con...', Array) #3 /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransp in /lib/vendor/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 386
extrait de /newsletter/_ajax_send.php?id=4&token=XXXXXXXXX avec MOD_DEBUG = 1
Updated by Simon almost 2 years ago
- Related to Anomalie #1438: newsletter is not sent .... because of Swift Error - v2.5 added
Updated by Simon almost 2 years ago
- Estimated time changed from 2.00 h to 1.00 h
should be ok !
if any issue again, try usleep() https://www.php.net/manual/fr/function.usleep.php but it seems, performance is very bad ...
also using antiflood-plugin could be an option : https://swiftmailer.symfony.com/docs/plugins.html#using-the-antiflood-plugin, see around line 85 in current script
Updated by Simon almost 2 years ago
- Status changed from Nouveau to Fermé
- % Done changed from 0 to 100
Applied in changeset linea21|r4200.