Closed Bug 273521 Opened 20 years ago Closed 19 years ago

Copying to shared "sent-mail" folder using IMAP doesn't work when sending mail.

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ph, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When i choose a shared folder as "sent-mail" folder
when sending mail Thunderbird sending IMAP command:
  "list INBOX^Sharedfolder^sent-mail"
  "create INBOX^Sharedfolder^sent-mail"
instead of:
  "append Sharedfolder.sent-mail"

Problem #1:
It seems like Thunderbird always using "INBOX" as prefix.

Problem #2:
The character "^" is used as folder-separator instead of "."

IMAP server is Cyrus IMAP4 v2.2.8.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
The mail i sent arrives but the copy of the mail that should be placed in
Sharedfolder.sent-mail doesn't exist.

Expected Results:  
Placed the copy of the mail in Sharedfolder.sent-mail.
Group: security
I have noticed this as well, as of RC1.
Although I can not confirm the commands Thunderbird is using, I can confirm that
the problem (sent items being sent but not saved to IMAP "Sent" folder) still
exists in version 1.0 (20041206). Workaround: Change "Sent folder" in IMAP
account options to "Local folders", then manually move file to IMAP's "sent" folder.
I can verify this bug.

When you configure TB to store copy of sent emails to imap folder on shared IMAP
NAMESPACE (folder named company.sent for example), you hit this bug.

Scenario:
1) TB sends outgoing email via smtp (OK)

2) TB checks, if folder exist: (WRONG)
list "" "INBOX^^company^sent"

NOTE the TB checks for wrong folder name!!!

3) Because folder "doesnt" exists, TB try to create it (FAILS):
create "INBOX^^company^sent"


This is wrong behaviour. TB did not know recognised (or loses) namespace prefix
and trys to operate on bad field.

The same problem for Drafts and Templates folder. The IMAP NAMESPACE support in
mozilla/TB is heavy buggy.
Have you tried a trunk build, e.g.,
ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.1a2

 I believe I fixed this a while ago.
Great!!!

Build 1.1a2 works fine on my testing windows machine.
All sents, drafts, templates saves right on imap shared folder.

I will test it more on linux and other systems on next days
and will report result again.

Thanks.

ok, thx, I'm marking this WFM - please re-open if you have problems on other
platforms (which I doubt - the problem was fixed in cross platform code)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Works fine on TB 1.5b1
I had almost similar problem which repeats on and on. I click on send end the
statusbar shows up 100% but it shows that it is still working. ( It maybe tries
to copy the email to the imap folder for sent emails.) 
However I tried this several times. This problem is not always there. My
Thunderbird runs the whole day and need to be restarted in such situations. I
also tried it with reinstalling. And also after a complete new setup of windows
this problem still is there. I tried two different imap servers. One is from
web.de the other one is from our company. I'll getting a bit crazy since I don't
know if the mail is sent or not and this is really important for me. 

Thank you for this great opensource software :)
You need to log in before you can comment on or make changes to this bug.