Reading mails from outlook express

hi..
i m doin a project on Bayesian Filters to detect spam mails.I need to extract mails from microsoft outlook express that are in the .dbx format as text files.Can someone jus help me out with this.. Its urgent!!!
it should b usin java.I have heard of mbox but dunno how to use that.So please help me out with this
regards

i m doin a project on Bayesian Filters to detect spam
mails.I need to extract mails from microsoft outlook
express that are in the .dbx format as text files.Can
someone jus help me out with this.. I bet Microsoft can.
Its urgent!!!Not to me.
it should b usin java.Why? I'd say it should be in VB or something.

Similar Messages

  • Transfer mail from Outlook express 6 on Windows XP to Mail on iMac

    I want to transfer mail from Outlook express 6 running under Windows XP to Mail on a Macbook Pro running Tiger.
    I have a network set up and can access the outlook identities, but neither Entourage nor Mail will recognise the entities when I try to use the import function. I suppose they are looking for outlook express 5 which runs on Mac OS 9.
    Is there a way to do this. I would think that if Apple is keen for people to move over to Mac, this would be an area which will be a concern to a lot of people.
    Thanks
    Abel

    See this link:
    http://helpx.adobe.com/photoshop-elements/kb/backup-restore-move-catalog-photoshop.html

  • Can I read mails in OutLook Express in Java ?

    Hi Guys,
    Just curious if I can access mails in Outlook Express in Java.
    Thank you for your consideration.

    jwenting wrote:
    If memory serves (OE is heavily outdated, haven't used it in years) OE stored its messages as flat text files in a directory on the user's harddisk.
    Reading those files should be child's play.I checked my system and there are only .dbx files created for each mail folder (my filters).I am using Outlook Express 6.0.

  • Moving mail from Outlook Express to iMac

    I've seen postings regarding moving mail over to Entourage and eventually the Mac Mail program. However, I'd like to keep using my Outlook Express through my ISP (comcast). Is this not possible if I'm using an iMac? I haven't bought the iMac yet because I'm afraid of losing all my saved emails, plus having to change my email address from a comcast.net account to mac.com would be a nightmare. Can anyone shed some light on this? Thanks!

    I've seen postings regarding moving mail over to Entourage and eventually the Mac Mail program. However, I'd like to keep using my Outlook Express through my ISP (comcast). Is this not possible if I'm using an iMac? I haven't bought the iMac yet because I'm afraid of losing all my saved emails, plus having to change my email address from a comcast.net account to mac.com would be a nightmare. Can anyone shed some light on this? Thanks!

  • Please help, dead end How do you import to Apple mail from Outlook express?

    I have a client with an old Mac G3 tower running OS9 and Outlook Express 5.06. I have read all of Apples Mail help and searched for docs and the discussion board. It appears that since the Mac Pro Intel won't run classic I have to some sort of transfer via another app. I have actually found better info on doing this from a PC but no successful suggestions to do it Mac to Mac. I have moved the Microsoft User Data over, tried directly from Apple Mail, tried loading Mozilla and pulling it in there, no good. How do you do this successfully?

    I think I have figured this out, looks like I might be able to import to Entourage then to Mail, anyone tried this?

  • Importing mail from Outlook Express to Mail

    I firewired my old Outlook Express program over from my iBook, which runs on OS 9.1, to my new Powerbook, but when I run the program in the classic environment it doesn't access the Messages cache. Instead, it shows no messages in the inbox, which means I have no way of importing all the old messages and the old address book from Express to Mail. Does anyone know how I might do this? Thanks.

    I spent about 10 hours on this forum trying to find out how to export mail from MS Outlook on OS 9 and import the mail into Apple Mail OS X. I found a few threads with no specifics and I found a few knowledge base articles and finally succeeded. So here is the step by step workflow for anyone who needs to do the same:
    1] On your old OS 9 Mac, locate the folder called Microsoft User Data -> Identities
    2] Copy the Identities folder to your new OS X Mac (put in on the desktop temporarily)
    3] Install OS 9 from your system disk on the new OS X Mac if it's not already installed
    4] On your OS X Mac, go to OS 9 Applications, find MS Outlook and run the program. After it launches, quit the program (this is to create some needed files in your home directory)
    5] On your OS X computer, go to your Home -> Documents -> Microsoft User Data, and trash the Identities folder
    6] Drag the Identites folder that you put on the desktop (the one from the OS 9 Mac) and put drop it Home -> Documents -> Microsoft User Data (replacing the identities you just trashed)
    7] Go back into OS 9 Applications (on your OS X Mac) and once again launch MS Outlook - you should now see all your mail in your inbox and sent items
    8] Quit MS Outlook
    9] Launch Apple Mail and use the FILE -> IMPORT MAILBOX function to begin the import process - follow the prompts
    Good luck
    Powerbook   Mac OS X (10.4.3)  

  • Pb:reading mail from Outlook

    Hi
    the problem is depended on the reception of a message starting from Outlook.
    is to say that the message of Content-Type is received: multipart/alternative; in two type one is Content-Type: text/plain; and the other Content-Type: text/html; .
    Also, the other part is not received if there is a file attached
    the code is:
    if(messages[msgnr].isMimeType("multipart/*"))
    Multipart multipart = (Multipart)messages[msgnr].getContent();
    for(int i = 0;i < multipart.getCount();i++)
    Part p = multipart.getBodyPart(i);
    String disposition = p.getDisposition();
    if (disposition == null) { // When just body
    // Check if plain
    if (p.isMimeType("text/plain")) {
    out.print("<PRE>");
    out.print(p.getContent());
    out.print("</PRE>");
    } else if (p.isMimeType("text/html")){
    out.print("<PRE>");
    out.print(p.getContent());
    out.print("</PRE>");
    else if (disposition.equals(Part.ATTACHMENT) || disposition.equals(Part.INLINE)){
    String filename = p.getFileName();
    printHyperlink(attachmentLink,
    request,response,
    messages[msgnr].getMessageNumber() +
    "&part=" + i,
    "attachment");
    else if(messages[msgnr].isMimeType("text/plain"))
    out.print("<PRE>");
    out.print(messages[msgnr].getContent());
    out.print("</PRE>");
    else
    printHyperlink(attachmentLink,
    request,response,messages[msgnr].getMessageNumber() +
    "&part=-1",
    "open content");

    If you get impatient waiting for an answer, don't repost the thread. It makes people hate you. If you post a reply to your first one it will get moved back up to the top.
    Here's your old thread, in case you forgot:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=307730

  • Can't import from OUTLOOK EXPRESS 5 to Mail

    I was trying to import contacts and e-mails from OUTLOOK EXPRESS and somehow all my information seemed to be erased from OUTLOOK.
    When I try to open it up it doesn't have all my emails and addresses. It's as if it just got installed. I don't know where to look for this info in my hard drive.
    Called APPLE and they told me that it could be that it got corrupted and deleted.
    I have years of information in there. Any suggestions?

    Outlook 5 -> Mail
    You can't go directly from Outlook 5 to Mail but you can do Outlook 5 -> Entourage -> Mail and that works very well
    Your mail in Outlook 5 (I am assuming you're running Outloook Express 5.x under OS 9.2.x) is in the MUD folder. You'll find it in Documents > Microsoft User Data > Identities > Main Identity
    If the Main identity is empty do a search for "Main Identity" and see if there are any other folders of the same name
    If you can't locate it, restore it from a backup, import it into Entourage and then into Mail

  • How to drag and drop an email from Outlook Express (with example code)

    Hi,
    It is possible to drag a mail from Outlook Express and drop it on the desktop, and the file created is a .eml, which is a text file.
    If I drop it into a Java application, no DataFlavor is provided to make the data transfer possible.
    As the data to transfer is a text, it should be possible to drop it.
    How to make a DataFlavor available and recover the text as a stream of characters?
    Example code
    The small application below shows the MIME type of the data that is about to be dropped. If you drag an icon from the desktop, a type will be displayed; if you drag an Outlook Express mail, no type will be displayed.
    Thanks.
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.util.List;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTree;
    public class TestSDN extends JFrame {
        void run () {
            JLabel lab = new JLabel();
            lab.setPreferredSize (new Dimension (100, 100));
            lab.setOpaque(true);
            lab.setBackground(Color.RED);   
            getContentPane().add (lab);
            new DropTarget(lab, new DropTargetListener(){
                public void dragEnter(DropTargetDragEvent dtde) {
                    System.out.println("dragEnter DataFlavors="+dtde.getCurrentDataFlavors().length);
                    for (DataFlavor df: dtde.getCurrentDataFlavors())
                        System.out.println("DataFlavor MIME type="+df.getMimeType());
                public void dragExit(DropTargetEvent arg0) {
                public void dragOver(DropTargetDragEvent arg0) {
                public void drop(DropTargetDropEvent arg0) {
                public void dropActionChanged(DropTargetDragEvent arg0) {
            pack();
            setVisible (true);
        public static void main(String[] args) {
            new TestSDN().run();
    }Edited by: JavaGame on Jan 29, 2009 9:56 AM
    Edited by: JavaGame on Jan 29, 2009 9:57 AM

    It might just be Microsoft not using standards? I remember having a similar situation - I had an application that could have a zip entry fron 7-zip drag-and-dropped into it (came over as plain text, or maybe an InputStream, can't remember), but when you drill into a zip file with Windows (Vista at least), and try to drag-and-drop a zip entry from Windows Explorer, Java shows no dataflavors available. I just assumed Microsoft wasn't exporting the zip entry in any standard format (such as plain text).
    Sorry, I know that wasn't very helpful, just thought I'd share a similar experience. :)

  • How to get All Mails from outlook

    Hi am reading mail from outlook.. It reads only unread mails. But i want to read all mails. if any one knows please help me..My code is..
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    public class AllPartsClient {
      public static void main(String[] args) {
    Properties props = new Properties();
        String host = "myhost";
        String username = "myuser";
        String password = "mypass";
        String provider = "pop3";
        try {
          Session session = Session.getDefaultInstance(props, null);
          // Connect to the server and open the folder
          Store store = session.getStore(provider);
          store.connect(host, username, password);
          Folder folder = store.getFolder("INBOX");
          if (folder == null) {
            System.out.println("Folder " + folder.getFullName() + " not found.");
            System.exit(1);
        folder.open(Folder.READ_ONLY);
          // Get the messages from the server
          Message[] messages = folder.getMessages();
          for (int i = 0; i < messages.length; i++) {
            System.out.println("------------ Message " + (i+1)
             + " ------------");
            // Print message headers
            Enumeration headers = messages.getAllHeaders();
    while (headers.hasMoreElements()) {
    Header h = (Header) headers.nextElement();
    System.out.println(h.getName() + ": " + h.getValue());
    System.out.println();
    // Enumerate parts
    Object body = messages[i].getContent();
    if (body instanceof Multipart) {
    processMultipart((Multipart) body);
    else { // ordinary message
    processPart(messages[i]);
    System.out.println();
    // Close the connection
    // but don't remove the messages from the server
    folder.close(true);
    catch (Exception e) {
    e.printStackTrace();
    // Since we may have brought up a GUI to authenticate,
    // we can't rely on returning from main() to exit
    System.exit(0);
    public static void processMultipart(Multipart mp)
    throws MessagingException {
    System.out.println("mp.getCount() = "+mp.getCount());
    for (int i = 0; i < mp.getCount(); i++) {
    processPart(mp.getBodyPart(i));
    public static void processPart(Part p) {
    try {
    String fileName = p.getFileName();
    String disposition = p.getDisposition();
    String contentType = p.getContentType();
    if (fileName == null && (Part.ATTACHMENT.equals(disposition)
    || !contentType.equalsIgnoreCase("text/plain"))) {
    // pick a random file name. This requires Java 1.2 or later.
    fileName = File.createTempFile("attachment", ".txt").getName();
    if (fileName == null) { // likely inline
    p.writeTo(System.out);
    else {
    File f = new File(fileName);
    // find a version that does not yet exist
    for (int i = 1; f.exists(); i++) {
    String newName = fileName + " " + i;
    f = new File(newName);
    FileOutputStream out = new FileOutputStream(f);
    // We can't just use p.writeTo() here because it doesn't
    // decode the attachment. Instead we copy the input stream
    // onto the output stream which does automatically decode
    // Base-64, quoted printable, and a variety of other formats.
    InputStream in = new BufferedInputStream(p.getInputStream());
    int b;
    while ((b = in.read()) != -1) out.write(b);
    out.flush();
    out.close();
    in.close();
    catch (Exception e) {
    System.err.println(e);
    e.printStackTrace();
    In this code if Content is Multipart then it is not displaying content..
    Thanks

    Hi
    if i use String provider = "imap"; then it shows the following error message..
    javax.mail.MessagingException: Connection refused: connect
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:479)
    at javax.mail.Service.connect(Service.java:275)
    at javax.mail.Service.connect(Service.java:156)
    at javamail.AllPartsClient.main(AllPartsClient.java:39)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
    at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
    at com.sun.mail.iap.Protocol.<init>(Protocol.java:84)
    at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
    ... 3 more
    pls any one give idea

  • How can I read my incoming emails in one folder?Like I do in Live mail and Outlook express.

    Now we can only read emails in different folders if I am managing multiple email accounts.
    It does not feel so comfortable as we use Live mail and Outlook express.

    '''Unified Inbox for pop and Imap mail accounts:'''
    If you use the Unified folder view, this will show an Inbox with all emails from all accounts, with sub folder Inboxes for the individual Inboxes for the various accounts. Then you can choose to view the collective Inbox or the individual Inbox.
    This method can be chosen simply and quickly.
    * View > folders > Unified
    '''Setting up Pop mail accounts to use Global Inbox.'''
    Pop mail accounts can be set up to use a Global Inbox in Local Folders.
    Imap mail accounts cannot be set up to use Global Inbox, but can use the Unified view.
    To change Pop mail accounts to use Global Inbox, you would need to move all emails into Local Folders Inbox.
    Then change the settings for each pop mail account.
    Tools > Account Settings > Server Settings for the pop mail account
    click on 'Advanced' button
    select 'Inbox for a different account' and 'Global Inbox (Local Folders)
    click on OK
    You need to do this for each Pop mail account.
    Then close Thunderbird. You must do this before downloading anything otherwise the emails may continue to go to the wrong Inbox.
    Wait a few moments for Thunderbird to fully close and then restart Thunderbird.
    Please read more info on global inbox here:
    * http://kb.mozillazine.org/Global_Inbox

  • Importing Address Groups from Outlook Express 5 (Mac) to OS 10.3 Mail

    I've successfully imported all my emails and email folders from Outlook Express (Mac) to Mail. The contacts imported into my Address Book, but not collected into their groups. I need those address groups!
    Thanks for any pointers you can offer.

    Resolved.

  • Can't import emails from outlook express into mail

    Just bought a macbook, I'm new into MAC, I'm a MAC ROOKIE. I'm trying to import my email from my microsoft outlook express to my MAC MAIL, I followed the instructions to import from outlook but when I locate the outlook files for my emails (they have extension .dbx but it won't let me select the files. Besides in the outlook folder there are dozens of files (1 per email subfolder). What am I doing wrong that I can't import the emails, nor the address book?
    Thxs!!!
    Avecesar

    Pay attention to the information Mail displays during the import process. It could be that it wants you to select the folder that contains the files to be imported, rather than the files themselves.
    EDITED: Now that I've read your post again, I don't think you're going to be able to do this on your MacBook, as importing from Outlook Express requires that application to be running in the "Classic" environment, which isn't available for Intel-based Macs.
    Disclaimer: I know next to nothing about how importing from Outlook Express is supposed to work, so take what I say with a grain of salt.

  • Moving emails from outlook express to mail

    is there a way to get all of my old emails from outlook express to mail? My old PC is about to die and then I'll loose all of my emails :s that is why I am wondering if there is a solution, now.

    I don't know whether you can do this on a PC version of Outlook Express or not, but I know that you can do stuff like this with Apple's Mail, so it may be worth a shot to try this and see if it works.
    First off, I am assuming that all this old mail is a POP account, and not IMAP. If it were IMAP, it would all be safe on your email account provider's IMAP server and all you would have to do is create the new account in Apple Mail and the first time you connected, it would autosync with the server and all your old mail would just be there. But if POP, all mail is downloaded to your computer then deleted from the server. So, assuming this to be a POP account, here is what I would try to do if I were you.
    1. Go to http://webmail.aol.com and sign up for a new free IMAP email account from AOL. You could get a free gmail account if you wanted, too, but I believe there is a bit of extra configuration involved in making it a IMAP and not POP. AOL is IMAP by default. Plus, AOL is a built-in new-account setup option in Apple Mail.
    2. On the PC in Outlook Express, add a new account for your new AOL email account. See http://support.microsoft.com/kb/883081 to find out all the particulars about account settings and how to do it in Outlook Express.
    3. On the Mac in Apple Mail, as stated in #1 above, AOL Mail is one of the options when creating a new account. Just follow Mail's "new account wizard" to create your AOL account there.
    4. On the Mac, create a second new account for your existing POP account. Mirror the individual mail folder layout that are on your old PC for the old POP account.
    5. This is the part that I don't know if PC Outlook Express will let you do, but I know that Apple Mail does:
    (a) Open each of your mail folders in the old POP account stored on your dying hard drive one at a time
    (b) Highlight/select all the messages in that folder
    (c) Drag them to the AOL inbox. In Apple Mail, they would be copied to the IMAP server, preserving all the original "From" and "Date Received" and other information like that.
    6. On the Mac, drag the messages that you uploaded into the AOL inbox and drop them into the appropriate folder of the "legacy" POP account that you created in #4. That will clear them out of the AOL inbox and they will now be stored on your computer as downloaded popmails.
    7. Go back to step #5 and repeat this process for each of your folders on the old PC until you have emptied all the messages off your old computer.
    Now, I will have to issue a disclaimer that I have only done this myself from IMAP to IMAP and to/from IMAP from/to "On My Mac" folders, which keeps copies of messages locally but not on IMAP servers. So I have no reason to suspect that this would not apply equally to POP since it worked with "On My Mac" folders. And whether the PC's Outlook Express will support the POP-to-IMAP drag-and-drop is a total unknown to me.
    I'm sure I'll hear back via this forum whether this worked or not, but it's the best idea that I can come up with, and like I said, a similar (but not identical) situation worked for me before.

  • Conversion from Outlook Express to Apple mail.

    I just bought an IMac. Fine, but how do I transfer all my mail history and contacts from Outlook Express to Apple mail?
    Rudolpf

    Try using a search engine with the following: outlook express to apple mail
    There are several programs that can do this for you.
    On a 4 year old discussion, I read if you have the Outlook Express data file, you can directly import the data.

Maybe you are looking for

  • Very slow wine game/nouveau driver issue

    Hello everyone, I'm trying to play a game (Civ 4) using wine. However, it was extremely laggy, and since it runs well on Windows (I have dualboot) plus it's not a very recent game and my laptop is reasonnably well-equipped, I thought it should work w

  • Your computer shut down because of a problem. Mac grey screen

    Recently I have been having issues with my Mac. The computer will freeze for no apparent reason and the screen goes ever so slightly blue, then crashes to grey screen - 'Your computer has shut down... blah blah blah' and then it restarts itself and i

  • Java Flush Queue for TREX index - How to

    Hi, I have an IIndex instance. I've added a document to the index using indexDocument(IResource resource). How can I programmatically get the queue for the IIndex instance & do a flush on that queue? Thanks, Jeroen

  • Forum Find for 2009-April​-13

    Check out how BestBuy.com customers are rating our latest "Forum Find" for HD Media Player Solutions! Western Digital - WD TV HD Media Player for USB Storage Devices Model: WDAVN00BN | SKU: 8993217 Compatible with My Passport portable hard drives and

  • Security Against ARP Spoofing

    Hi, I  am planning to create two DHCP servers for DHCP load balancing. Since  ARP Spoofing is one of major threats while configuring DHCP, I want to  know what are the ways to prevent ARP spoofing. Regards, Prasad Bait