#1484114 closed Bugs (worksforme)
Missing SENT folder hangs RC at backend
| Reported by: | core | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1-stable |
| Component: | Client Scripts | Version: | 0.1-beta |
| Severity: | normal | Keywords: | Sent missing timeout error |
| Cc: |
Description
If the 'Sent' folder is missing, causing the IMAP server to return an error to the append command, sending messages doesn't complete; on the client side, the progress indicator just stays there until the PHP script times out (after 2 minutes, in my case), at which point the progress indicator disappears and the user is left on the compose page. Meanwhile the message has actually been sent.
You could say there's actually two bugs here, the first is that the mail-sending code doesn't handle a missing Sent folder in response to the IMAP append command; the second is that unexpected IMAP errors aren't handled by the PHP script and reported back to the user.
Change History (4)
comment:1 Changed 5 years ago by seansan
- Milestone set to 0.1.1
- Summary changed from If the 'Sent' folder is missing, sending mail just hangs and eventually times out to Missing SENT folder hangs RC at backend
comment:2 Changed 5 years ago by lancey
Irrelevant as of SVN v1102.
This is what I did:
- changed the Sent folder name to "SentTest?" in main.inc.php
- logged in to RoundCube (it automatically created the SentTest? folder, as the settings in main.inc.php say to do so)
- composed a message
- while composing the message, opened the very same account in Thunderbird, and deleted the SentTest? folder
- clicked the Submit button in Roundcube - everything works OK.
- result - message is delivered OK, the Sent folder ("SendTest?" in this case) was automatically recreated by RoundCube, and a copy of the message sent was saved inside it.
Retested with folder autocreate turned off - works again, just a copy of the message sent was not saved.
comment:3 Changed 5 years ago by yllar
- Resolution set to worksforme
- Status changed from new to closed
comment:4 Changed 5 years ago by till
- Milestone changed from 0.1.1 to 0.1-stable

Verify in 1.1 or close. Exceptional case if you ask me