Ticket #1485010 (closed Bugs: duplicate)
Sent mail hangs w/ large attachments (Windows only?)
| Reported by: | blove57 | Owned by: | |
|---|---|---|---|
| Priority: | 1 - Highest | Milestone: | later |
| Component: | Client Scripts | Version: | 0.1.1 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
The forums are starting to flood with this new problem. The problem is that when an email with an attachment larger than about 5MB, the compose message gets stuck with the "Sending Message" spinning icon at the top. The thing is that the email does get sent, it just hangs trying to save the email to the sent folder I believe because if I kill the the compose message and go to my sent mail, it's not in there. But there is no real way of knowing if the email really got sent, plus you lose the email because it is not in your sent folder. This is not a php.ini problem! There is a bug, possibly affecting Windows only.
My logs say: [17-Apr-2008 18:43:51] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\roundcube\program\lib\imap.inc on line 2455
This is pointing to which apparently is a Windows thing isn't it?: $sent = fwrite($fp, $message."\r\n");
