Well, I didn't want to do it manually, so i wrote the following little dos batch Just copy and paste it to a file called something like EMLtoNetscape.bat and
execute it from the dos prompt. The rest is rather self-explaining
----------------------------------------------------------
@echo off
echo ===========================================
echo This batch file creates a NetscapeMail compatible mailbox out of
echo several *.eml files. The *.eml files must all be in the same
echo directory. Copy the created file into Netscapes mailbox folder
echo (see Edit - Mail&Newsgroups Account Settings - Local Folders)
echo Upon the next start of Netscape (close Mail & Browser),
echo the new folder will show in Netscape's folder pane.
echo Tested with Netscape 7.2 and DBXtract-generated *.eml files.
echo Copyright by Sebastian Kanzow 2005
echo ===========================================
if [%1]==[] goto Err1
if [%2]==[] goto Err1
echo %2 | find "."
if NOT ERRORLEVEL 1 goto Err2
echo From > %2
set EMLTEST=0
for %%a in (%1\*.eml) do (
set EMLTEST=1
echo Adding "%%a" to %2...
type "%%a" >> %2
echo From >> %2
)
if %EMLTEST%==0 echo Warning: No *.eml files in %1
echo ===========================================
echo FINISHED
echo ===========================================
exit /b
:Err1
echo Usage: %0 Folder_containing_eml_files Name_of_mailbox_to_create
exit /b
:Err2
echo Error: The mailbox name may not have an extension
--------------------------------------------------------------------
As a reply to akbash :
>Well if you want to do it manually...
>A Netscape mail folder is just a single file containing a sequential list of >messages. EMLs, one after another. I'm not certain whether this would
>work with all EMLs from all sources. And I'm not certain that it would
>work with an IMAP mail account. But you could try this. It's known to
>work with individual EMLs exported from Netscape (Mozilla, actually) into
>a POP3 account.
>To each of your downloaded EML files, prepend a "received date" line.
>Make it look like the line that begins each message in one of your extant
>mail folders.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)