You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Create a new email or reply to an existing one.
2. Add recipient TO and UDW.
3. Add a large attachment (for example 300MB) from nextcloud files.
4. Send a message.
Expected behavior
The message will be sent once.
Actual behavior
The message is sent continuously every 10 minutes. As a result, the Mail Delivery System sends back information about the inability to deliver the mail. The inbox says that 1 message has been sent, but when you click on it, there is nothing. This unfortunate message is not in the Sent directory.
Mail app version
1.12.0
Mailserver or service
Own iRedMail serwer(allows large attachments)
Operating system
Ubuntu 20.04
PHP engine version
PHP 8.0
Web server
Nginx
Database
MySQL
Additional info
I checked the mail server. Works correctly.
The message about the failure to deliver the e-mail
The nextcloud journal:
{"reqId":"I6apI6eJqlljP47bFlwe","level":2,"time":"2022-05-23T19:36:03+00:00","remoteAddr":"","user":"--","app":"mail","method":"","url":"--","message":"Could not send outbox message 15: Could not send message: Error when communicating with the server.","userAgent":"--","version":"23.0.5.1","exception":{"Exception":"OCA\Mail\Exception\ServiceException","Message":"Could not send message: Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","Line":210,"Previous":{"Exception":"Horde_Mime_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","Line":1642,"Previous":{"Exception":"Horde_Mail_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","line":1620,"function":"send","class":"Horde_Mail_Transport_Smtphorde","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mail/Horde/Mail/Transport/Smtphorde.php","Line":145,"Previous":{"Exception":"Horde_Smtp_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":1028,"function":"read","class":"Horde_Smtp_Connection","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":1094,"function":"_getResponse","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":739,"function":"_processData","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mail/Horde/Mail/Transport/Smtphorde.php","line":143,"function":"send","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","line":1620,"function":"send","class":"Horde_Mail_Transport_Smtphorde","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp/Connection.php","Line":130}}},"CustomMessage":"Could not send outbox message 15: Could not send message: Error when communicating with the server."},"id":"628be40621df0"}
The text was updated successfully, but these errors were encountered:
It looks. The command to delete the message to be sent would be helpful. I was able to fix the problem by disabling the email application and manually deleting the problematic message from the database.
Steps to reproduce
1.Create a new email or reply to an existing one.
2. Add recipient TO and UDW.
3. Add a large attachment (for example 300MB) from nextcloud files.
4. Send a message.
Expected behavior
The message will be sent once.
Actual behavior
The message is sent continuously every 10 minutes. As a result, the Mail Delivery System sends back information about the inability to deliver the mail. The inbox says that 1 message has been sent, but when you click on it, there is nothing. This unfortunate message is not in the Sent directory.
Mail app version
1.12.0
Mailserver or service
Own iRedMail serwer(allows large attachments)
Operating system
Ubuntu 20.04
PHP engine version
PHP 8.0
Web server
Nginx
Database
MySQL
Additional info
I checked the mail server. Works correctly.
The message about the failure to deliver the e-mail
The nextcloud journal:
{"reqId":"I6apI6eJqlljP47bFlwe","level":2,"time":"2022-05-23T19:36:03+00:00","remoteAddr":"","user":"--","app":"mail","method":"","url":"--","message":"Could not send outbox message 15: Could not send message: Error when communicating with the server.","userAgent":"--","version":"23.0.5.1","exception":{"Exception":"OCA\Mail\Exception\ServiceException","Message":"Could not send message: Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","Line":210,"Previous":{"Exception":"Horde_Mime_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","Line":1642,"Previous":{"Exception":"Horde_Mail_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","line":1620,"function":"send","class":"Horde_Mail_Transport_Smtphorde","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mail/Horde/Mail/Transport/Smtphorde.php","Line":145,"Previous":{"Exception":"Horde_Smtp_Exception","Message":"Error when communicating with the server.","Code":2,"Trace":[{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":1028,"function":"read","class":"Horde_Smtp_Connection","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":1094,"function":"_getResponse","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp.php","line":739,"function":"_processData","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mail/Horde/Mail/Transport/Smtphorde.php","line":143,"function":"send","class":"Horde_Smtp","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Part.php","line":1620,"function":"send","class":"Horde_Mail_Transport_Smtphorde","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Mime/Horde/Mime/Mail.php","line":479,"function":"send","class":"Horde_Mime_Part","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":208,"function":"send","class":"Horde_Mime_Mail","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/MailTransmission.php","line":271,"function":"sendMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":129,"function":"sendLocalMessage","class":"OCA\Mail\Service\MailTransmission","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/Service/OutboxService.php","line":196,"function":"sendMessage","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/apps/mail/lib/BackgroundJob/OutboxWorkerJob.php","line":55,"function":"flush","class":"OCA\Mail\Service\OutboxService","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\Mail\BackgroundJob\OutboxWorkerJob","type":"->"},{"file":"/usr/share/nginx/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":95,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/usr/share/nginx/nextcloud/cron.php","line":151,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->"}],"File":"/usr/share/nginx/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Smtp/Horde/Smtp/Connection.php","Line":130}}},"CustomMessage":"Could not send outbox message 15: Could not send message: Error when communicating with the server."},"id":"628be40621df0"}
The text was updated successfully, but these errors were encountered: