Closed Bug 12000 Opened 25 years ago Closed 25 years ago

[PP] [regression] Copy to sent local folder fails on Mac

Categories

(MailNews Core :: Backend, defect, P3)

All
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: pmock, Assigned: rhp)

Details

Build Date & Platform Bug Found:
 Mac commercial seamonkey build 1999-08-16-08-m9 installed on PPC 9600/300 Mac
OS 8.5.1 and G3/400 Mac OS 8.6

Overview Description:
 Copy to local sent folder fails on Mac.  When I send a mail message or post a
news message, the message is sent but the message is not copied to the Sent
folder.  The compose window disappears then re-appears in a few moment.  If I
click on the send button again, the message is sent again then the compose
window re-appears.  I did add the user_pref to copy to my sent folder.

Steps to Reproduce:
0) Add the user pref to your mozilla preference file to use html compose window
    user_pref("mail.identity.identity3.compose_html", true);
   Note: bug 11861 - apprunner freezes sending sending plain text message
1) Add the user pref to your mozilla preference file to copy sent mail to your
Sent folder.
   user_pref("mail.default_fcc_uri", "mailbox://3qatest05@nsmail-2/Sent");
2) Start Apprunner
3) Open Messenger through the Task menu or component bar
4) Start a new message
   The html compose window appears
5) Address the message to yourself (or a newsgroup)
6) Type in a subject title
7) Type in a short message into the message body
8) Click on the send message button
   The compose window disappears then re-appears again
9) Retrieve mail
   The mail message you just sent is received
10) Open the sent folder
    The message has not been copied.

Actual Results:
  The mail message is sent but the message is not copied to the sent folder.
The compose window re-appears after sending.  You can send the message again but
the compose window fails to go away.

Expected Results:
  The mail message is sent.  The compose window is closed.  The mail message is
copied to the sent folder.

Additional Builds and Platforms Tested On:
  This problem did not occur on friday Mac build 1999-08-13-08-m9,
  According to Suresh and Ninoschka, this problem does not occur on today Win32
(1999-08-16-09-m9) or Linux builds (1999-08-16-08-m9)

Additional Information:
  If you close the compose window, the window is dismissed.
Fenella filed a similar bug http://bugzilla.mozilla.org/show_bug.cgi?id=11991
fyi

Bug 11991 centers around IMAP.  Bug 12000 centers around POP.
Using build 19990816 on my mac this is working.  At first I thought wasn't until
I looked at my prefs and my fcc pref string was pointing to the wrong POP
account, after I corrected it I could see copies of my sent mail messages and
news message in the Sent foldler.   I will check with Peter to double check his
preference.  I had multiple accounts 2 pop, 1 imap, 2 news.  I also made sure I
had the compose_html set to true.  One difference might be that I used my
prefs.js that I created not the one 4.7 is using.
I also don't think 11991 is related to this bug.
Thanks Esther for researching this problem.

You right, I don't create my own prefs.js file from scratch.  I been migrating

the 4.7 prefs.js file to 5.0.  Here is the brief steps that I usually take...



1) Launch Communicator 4.x

2) Open Messenger

3) Subscribe to at least one newsgroup

    (I generally download only 50 messages)

4) Exit Communicator



5) Launch Apprunner (first time)

    Enter a profile name when the wizard comes up

6) Exit Apprunner



7) Open Windows Explorer window

8) Find you Communicator 4.x profile

9) Copy the Mail, IMAPmail, and News directories  and prefs.js file to your

apprunner profile



10) Launch Appruner

11) Open Messenger

      You should be able to access you newsgroup now.



Note: For POP3 mail, there is one more step.

12) Exit Apprunner

13) In Windows Explorer, go to the directory

       \seamonkey\Users50\3qatest05\Mail

14) You should notice your pop mail file in this directory and a newly created

subdirectory called nsmail-2 or nsmail-1.  You need to move all the mail files

from \seamonkey\Users50\3qatest05\Mail into the subdirectory /nsmail-2  or

nsmail-1 (which ever you are using)
Assignee: phil → rhp
Reassign to rhp
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Researched:
After looking at my migrated 4.7 to 5.0 preference, I found that indeed my path
was incorrect.  When you migrate your preference, it puts your mail path be
  \user50\my_profile\mail\nsmail-2

I was typing in the user preference
  user_pref("mail.default_fcc_uri", "mailbox://3qatest05@nsmail-2/Sent");

The correct path that I should have type in was:
user_pref("mail.default_fcc_uri", "mailbox://3qatest05@nsmail-2/nsmail-2/Sent");

I can duplicate this issue on all platforms.

Marking this bug as worksforme in it simplest case of profile consisting of 1
pop account.

Aside: I found a corner case where if you have 1 pop and 2 news server, the fcc
user pref statement fails with 3 defined user identities.  I will log a separate
bug on this issue.
Status: RESOLVED → VERIFIED
Verified as works for me.
fyi,
On the other case that I found, I logged bug 12149
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.