Actions
Anomalie #1438
closednewsletter is not sent .... because of Swift Error - v2.5
Start date:
11/09/2022
Due date:
% Done:
100%
Estimated time:
2.00 h
Resolution:
Description
When sending newsletter, getting following logs. Newsletter is sent to few emails only :
[17-Oct-2022 11:30:06 Europe/Madrid] PHP Notice: unserialize(): Error at offset 97 of 125 bytes in /homepages/1/d148916023/htdocs/linea21-pcpf/class/class.plugin.php on line 199
[17-Oct-2022 11:30:20 Europe/Madrid] PHP Notice: unserialize(): Error at offset 97 of 125 bytes in /homepages/1/d148916023/htdocs/linea21-pcpf/class/class.plugin.php on line 199
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice: fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
Updated by Simon about 2 years ago
- Tracker changed from Evolution to Anomalie
Updated by Simon about 2 years ago
Problem is identified on 1and1 host
See also :- https://stackoverflow.com/questions/18925541/having-troubles-to-send-mails-in-1and1-hosting
- https://www.ionos.fr/assistance/hebergement/depannage-pour-php/enregistrer-les-utilisations-de-la-fonction-mail-de-php-pour-lanalyse-des-erreurs/
- https://www.ionos.com/help/email/general-topics/settings-for-your-email-programs-imap-pop3/
- https://openclassrooms.com/forum/sujet/phpmailer-1-1
Updated by Simon about 2 years ago
Bug probably due to mail setting. Adding instruction to try to prevent the issue anyway :
// hope it fixes bug https://dev.linea21.com/issues/1438 - see https://stackoverflow.com/questions/43871739/swiftmailer-broken-pipe-error $mailer->getTransport()->stop(); // < this line closes socket and at next iteration its reopened
Updated by Simon about 2 years ago
- Status changed from Nouveau to Fermé
- % Done changed from 0 to 100
Applied in changeset linea21|r4162.
Updated by Simon about 2 years ago
- Related to Evolution #1465: Swift exception error added
Actions