Closed Bug 7331 Opened 25 years ago Closed 25 years ago

We should delete tmp file after sending mail message

Categories

(MailNews Core :: Composition, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmock, Assigned: bugzilla)

Details

Build: Mac May 28 Seamonkey build (1999052808-M7) installed on PPC 9600/300 OS 8.5.1 Win32 May 28 Seamonkey build (1999052808-M7) installed on Gateway P200 Win98 Linux May 28 Seamonkey build (1999052808-m7) installed on Compaq P200 Redhat 5.2 Problem: Seamonkey fails to remove the temporary file after sending mail message or quiting apprunner. It currently creates a file called nsmail01.txt on all the platforms when starting a mail message. On Mac, the nsmail01.txt file is created in the Apprunner application folder On Win, the nsmail01.txt file is created in the c:\temp directory On Linux, the nsmail01.txt file is created in the /usr/tmp directory Also, it appears that Seamonkey uses the same temporary file over and over again. This means that you may not be able to compose two mail messages at the same time.
Severity: normal → major
QA Contact: lchiang → esther
We should also do this for security reasons so that someone can't read what I've written by looking at the tmp file.
Status: NEW → ASSIGNED
Target Milestone: M7
I think it's already fixed, need to be verified...
It appears that the nsmail01.txt file is no longer being used. When I compose messages, I can not find a nsmail01.txt file. I was using today build on win32, PPC, and Linux (1999061408). Note: Esther, when you verify this bug, check the date of the nsmail01.txt. You may have one left over from a previous build.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
actually, the new name for the temp file is nsmail.tmp or nsmail-<n>.tmp (where <n> is an incressing number). The temp file is deleted after the message as been sent.
Peter, be carefull when testing this bug on Mac. Send wont work if you don't set correctly the identity and smtp prefs into default:prefs50.js. Because of bug 8109, Mac use the default prefs and not your regular profile.
Thanks Jeff. I been copying my prefs50.js to my "Default" folder and my Profile folder just to be sure.
Status: RESOLVED → VERIFIED
Verified in the June 16 Seamonkey build. I tested the following builds: Win32 June 16 Semonkey build (1999061608) installed on Gateway P200 Win98 PPC June 16 Seamonkey build (1999061608) installed on PPC 9600/300 OS 8.5.1 Linux June 16 Seamonkey build (1999061608) installed on Compaq P200 RedHat 5.2 The temp files are deleted after the messages are sent. I checked the temp location on Win32 and Linux, there were no temp files found. On PPC, the tmp file are created in the application folder and are removed. Note: according to Jeff, the temp files should only appear for a few milliseconds so it is very difficult to see the file created. It was more practical to check for the temp file after sending the message. The only time the temp file was not deleted is when I crashed when sending mail message. Esther, I hope you don't mind me verifying this bug.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.