MozillaZine

nsmail.html

Discussion of general topics about Mozilla Thunderbird
Tatin
 
Posts: 5
Joined: August 3rd, 2004, 3:14 am

Post Posted August 3rd, 2004, 3:23 am

Hello.

My problem is simple: When i try to send a mail, i get this message:

"Sending of message failed

Unable to open the temporary file C:\DOCUME~1\FRAN§OIS\LOCALS~1\TEMP\nsmail.html

Check your temporary directory setting"

I guess someone emptied my temp folder, and know i have this problem. When i re install thunderbird, i still have the same problem.

Is there a way to recreate this file ? If this file the same for each user ? If so, could someone be gentle enough to post it in this forum ?

Thanks, and sorry for my awful english ^^.

tanstaafl
Moderator

User avatar
 
Posts: 39246
Joined: July 30th, 2003, 5:06 pm
Location: Massachusetts

Post Posted August 3rd, 2004, 3:31 am

Thunderbird creates several temporary files when sending email. The name depends upon what type of message you're sending. You don't want to re-create them, they're temporary files usefull only when sending that message.

If your temporary directory has enough free space you shouldn't have a problem.

See http://forums.mozillazine.org/viewtopic ... +temporary http://forums.mozillazine.org/viewtopic ... +temporary
http://forums.mozillazine.org/viewtopic ... +temporary

Tatin
 
Posts: 5
Joined: August 3rd, 2004, 3:14 am

Post Posted August 3rd, 2004, 4:31 am

tanstaafl wrote:
If your temporary directory has enough free space you shouldn't have a problem.


Seems he has enough space, though...

tanstaafl wrote:Have you looked at the directory specified by either the TMP or TEMP environmental variables and verified there is enough free space? You can see thier values by typing "set" (with no quotes) on a command line.

(You said that on another topic)
I don't even know how to open a command line ! ( On Win XP )

tanstaafl
Moderator

User avatar
 
Posts: 39246
Joined: July 30th, 2003, 5:06 pm
Location: Massachusetts

Post Posted August 3rd, 2004, 4:38 am

>I don't even know how to open a command line !

Use start->programs->command prompt. Or run %SystemRoot%\system32\cmd.exe in start->run.

"Unable to open the temporary file C:\DOCUME~1\FRAN§OIS\LOCALS~1\TEMP\nsmail.html" implies that he did not specify a different location for temporary files using the TMP or TEMP environmental variables. Its using c:\document and settings\francois\.... I have no idea if the eight bit character in the account name has any effect.

Tatin
 
Posts: 5
Joined: August 3rd, 2004, 3:14 am

Post Posted August 3rd, 2004, 5:04 am

No, none of your advice solved my problem...

I' d really like to try with someone' s nsmail.html file (maybe it' s the same temporary file he uses to send each mail, and edits it each time ?)...could you please send yours there ?
francois.dem@wanadoo.fr

I' d be really grateful.

tanstaafl
Moderator

User avatar
 
Posts: 39246
Joined: July 30th, 2003, 5:06 pm
Location: Massachusetts

Post Posted August 3rd, 2004, 5:17 am

The temporary files are deleted when thunderbird finishes sending the message to the smtp server, at least on my system. So, I can't give you a copy of my nsmail.html file. The only time I've actually seen it in my temporary files directory was when there was not enough space to write the entire file so sending the message failed and thunderbird did not clean up after itself.

Try sending a plain text message instead of a html message to see if your symptoms change. From one of the links I gave you:

"I did a search for "nsmail." with the mozilla cross-reference web page and found the following:

mFileSpec = nsMsgCreateTempFileSpec("nsmail.tmp");
mHTMLFileSpec = nsMsgCreateTempFileSpec("nsmail.html");
mTempFileSpec = nsMsgCreateTempFileSpec("nsmail.eml");
// Let's build a temp file with an extension based on the content-type: nsmail.<extension>

so it looks like thunderbird creates different nsmail.* temporary files depending upon what type of message you send."

Tatin
 
Posts: 5
Joined: August 3rd, 2004, 3:14 am

Post Posted August 3rd, 2004, 5:22 am

Same problem when i try to send the message in plain text...

Tatin
 
Posts: 5
Joined: August 3rd, 2004, 3:14 am

Post Posted August 3rd, 2004, 5:49 am

And same problem with mozilla...

tanstaafl
Moderator

User avatar
 
Posts: 39246
Joined: July 30th, 2003, 5:06 pm
Location: Massachusetts

Post Posted August 3rd, 2004, 6:32 am

How much free disk space do you have in C:\DOCUME~1\FRAN§OIS\LOCALS~1\TEMP ?

Have you tried changing the TMP and TEMP environmental variables using the system control panel (you change the environmental variables in the advanced tab) to point to somewhere with a lot of free space? I point mine to a RAM Disk that I also configure all of my browsers disk caches to use.

|Bloom
 
Posts: 1
Joined: August 5th, 2004, 4:16 pm

Post Posted August 5th, 2004, 4:43 pm

I have the same problem.
I found out that the thunderbird seems to ignore special language characters.
My TMP or TEMP enviromental variables are:
C:\DOCUME~1\LICÍNI~1\DEFINI~1\Temp
but in the error message that the thunderbird throws the temp directory is:
C:\DOCUME~1\LICNI~1\DEFINI~1\Temp

I don't if this is a bug or if it just a setting that must be configured.
Does someone knows how to solve this?

zesuisse
 
Posts: 1
Joined: December 23rd, 2004, 2:36 am
Location: France

Post Posted December 23rd, 2004, 2:39 am

I had the same on OSX and I just create a "tmp" directory at the root level of my HD. It work :-))

master_flea
 
Posts: 1
Joined: December 25th, 2004, 11:37 pm

Post Posted December 25th, 2004, 11:39 pm

I just had the same problem. I solved it by going into my temp folder, identifying any dispensable files, and deleting them.

Return to Thunderbird General


Who is online

Users browsing this forum: No registered users and 1 guest