max Posted October 11, 2006 Report Share Posted October 11, 2006 Yes, just to let my wife use her company's laptop (preconfigured with win2000, untouchable !) with the messages, threads already stored into kontact/kmail of my 2006 machine. I haven't found any export command into kmail. There is a way ? Thanks. Massimo Quote Link to comment Share on other sites More sharing options...
jboy Posted October 11, 2006 Report Share Posted October 11, 2006 (edited) Are you asking if there is a way to export kmail messages and then import them into Windows (e.g., to Outlook Express)? If so, I know a way to do it, but the procedure is somewhat manual, not automated. Kmail messages will be in folders in your home directory like the following: .kde/share/apps/kmail/mail/inbox/cur .kde/share/apps/kmail/mail/sent-mail/cur etc. Each message has a filename that looks something like this: 1132412437.7831.IDwxR:2,S If you use an editor to view the file, you'll see that it just plain text with the email headers and message text. Copy all these files to a temp folder. Rename them such that they have a .eml extension and are in a filename format that Windows will accept. You can probably use krename for this. For example: 1132412437.eml Then copy these files to a USB drive, CD, floppy, whatever. Then from within Windows, open Outlook Express and drag and drop these files into an Outlook Express folder. The Subject will be the Subject line from the original message. You've now imported them into Outlook Express. If you need to get them into Outlook (not Outlook Express), Outlook has an import procedure that can do that. See the File -> Import and Export menu selection. If this is not what you're asking, please give more details. Edited October 11, 2006 by jboy Quote Link to comment Share on other sites More sharing options...
max Posted October 12, 2006 Author Report Share Posted October 12, 2006 Is just what I needed ! Thanks Jboy Massimo Quote Link to comment Share on other sites More sharing options...
Guest max2 Posted March 27, 2009 Report Share Posted March 27, 2009 (edited) Thanks, I needed to migrate to outlook too. Here's the procedure I used FYI on OpenSUSE 10.3 my kmail emails were located on ~/.kde/share/apps/kmail/mail On KDE4, the location of kmail emails is ~/.kde4/share/apps/kmail/mail The procedure to upgrade kmail to office outlook was the following 1) backup your email 2) rename all files to eml 3) import into outlook express (create a dummy account) 4) import from outlook express to office outlook in detail: 0) go to your kmail email folder cd ~/.kde/share/apps/kmail/mail 1) tar all the email tar cvf inbox.tar inbox/cur/* tar cvf sent.tar sent-mail/cur/* 2) move it to a temp folder mkdir ~/temp mv *.tar ~/temp 3) untar inbox (procedure is the same for sent-mail, so I won't repeat it here) cd ~/temp tar xvf inbox.tar cd inbox/cur 4) rename all emails to EML extension, with a valid windows pathname for f in `ls -1`; do f2=`echo $f | sed 's/[\.,]/_/g'`; mv -v $f $f2.eml; done What this does is list all files in the current directory, then replace the dots (.) and commas (,) from the filenames by an underscore (_), and then adds the "eml" extension for outlook express 5) retar all the emails tar cvf inbox.tar *.eml 6) move the tar file to your windows machine 7) on windows open up outlook express and create a dummy account. Discard all the errors. All that matters is that you create an account with or without valid mailbox settings, because we'll drop all the EML files into the inbox 8) once outlook express is ready, drag all the email EML files (from the tarball) into the "inbox" folder 9) open Office Outlook. Go to File->Import/Export 10) select "From other program" 11) select "outlook express 3.x, 4.x, 5.x.." 12) discard the account setup popup boxes 13) it will start importing all your email from outlook express Long manual process, I know. But there are tools you can use on the internet like OfficeFiller, etc that you can buy for under $20 that will do the job Enjoy Edited April 1, 2009 by max2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.