Get mails from outlooks personal folder (.pst)

Hi,
I am using JavaMail to parse mails from the imap server.The application gets new mails from inbox and parses it as required.however i need to modify this to get new mails from a personal folder(.pst)file instead of the inbox on the server.
Any help in this direction will be appreciated.
Thanks,

as i understand, you want to pipe that output from
qmail to your java application, that would then do
something to those mails.
but have you figured out what you want to do to those
mails?
javax.mail mostly helps your pogs to speak pop3 smtp
and other protocols, but in your case there's no need
for that, if you just need to parse those messages,
then just parse them.
what seems to be the problem? what to you want to
achieve.Again....I've all ready. I've the script, I've the pipe from qmail, I know how to receive it from standad input...
Could you please send me a little example about how to parse the received mail I'll have in a BufferedReader or InputStream to get subject, from and body (decoding MIME partes if the mail is MIME type ??
This is the problem.
I couldn't found samples or help...
Thanks in advance
xl

Similar Messages

  • How to get mail from Outlook to SAP GUI (workflow)

    Hi All ,
    How can we get a mail from outlook or personal mail into SAP GUI .
    can it be used as an event for 'wait for event step ' in workflow . ?
    Thanks ,
    Naval bhatt

    Hi Naval,
    I just want to clarify some areas from your question:
    1. Will a workflow be triggered because of the email from Outlook to SAP? Does it always have to start from the Outlook side?
    The integration of SAP Workplace (thru Workflow) and Outlook is possible using the Extended Notification (tcode SWNCONFIG). Here, you can send an email from SAP to Outlook then execute a function from your Outlook message and then you will be directed to the tcode of SAP side (SAP GUI).
    Regards,
    Reymar

  • How can I copy iCloud calendar and contact back to Outlook personal folder?

    After I install iCloud control panel for Windows 7 and turn on, it copied everything calendar and contact into iCloud and delete everything from Outlook Personal Folder.   I DONT WANT THIS!!!     How can I copy iCloud calendar and contact back to Outlook personal folder?

    Hi
    If you go to the web site of iCloud and then to contacts there is a button left bottom where you can export your contacts as cvs files and reimport them in outlook

  • 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

  • Suddenly mail from one person cannot download into it's folder, why?

    I have filters set up and they were working just fine. All of a sudden tonight one folder stopped. It would not download the mail from that person. Somehow her folder got moved as a subfolder of something else. I deleted both folders and recreated them keeping the message filters as they were. Everything else is working fine, I'm still receiving all e-mail from everyone else but from this one sender it is not downloading. The notification sound alerts me and her folder lights up but the message never appears.
    Please help how do I fix it?

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • I am having trouble getting mail from the server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system. Any ideas?

    I am having trouble getting mail from the shaw server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system and obtain new messages. Any ideas? Its at the point where I have started using the PC again as its less trouble.......

    In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".<br />
    See "Firefox connection settings" in [[Server not found]]
    You can find the connection settings in "Tools > Options > Advanced : Network : Connection"<br />
    If you do not need to use a proxy to connect to internet then select No Proxy

  • How to exchange E-mail from Outlook?

    After an update of the software of the N97 to version 12, I had to install again the exchange option with Outlook. Contacts, Agenda, Tasks, ... works fine, but I can't get the mail exchange working again.
    My purpose is just to load the mails of say 5 days from Outlook into the N97. In the Ovi Suite I have chosen: 
    Nokia PC sync instellingen: I have chosen E-mail, too; folder: Inbox; exclusief e-mails bigger than 200 kb.
    I think I do something wrong on the N97-side (and can't remember what I did right the very first time).
    Is it right to chose a mailbox: @home
    use as a usernaam the name I use in Outlook
    use as a password the password I use in Outlook
    use the same server for incoming mails as I use in Outlook
    use a standardconnection
    Mailboxname: the name after @Home
    use as Mailboxtype the same I use in Outlook: POP3
    use as port: standard?
    First I would like to have this working.
    Even better would be if I could use two mailboxes: 1 for e-mails from Outlook; 2 for e-mails from a different source via internet.
    Message Edited by loriot on 22-Sep-2009 05:08 PM

    As I can't believe that no one here knows the anwser, I think my description and/or title is unclear.
    It's about synchronization between the N97 and Outlook, but the problem I have only with synchronizing E-mails between the N97 and Outlook; synchronizing agenda, contacts, tasks, ... works well. 
    Message Edited by loriot on 23-Sep-2009 07:01 AM

  • Can't sent mail from outlook

    I'm a mac.com acount user. for a long time.
    This changed to me.com and later to Icloud.com.
    Since my storage has been set lower on 5GB on 30 sept 2013 its not possible anymore to sent mail from outlook.
    On the 30 sept we got a message to delete some files in the icloud because our memory was to high.
    But after changing to enough space the problems did not go away.
    error: 0x80004005 de bewerking mislukt.
    I can receive all mails from all my .mac and .me accounts.
    And I can sent mails from outlook .com, but I don't want to use that
    Can someone explain what happened and how to make it work
    Thx
    John

    Allan - Here's the other odd thing. Currently, I have my old mail account AND my new MM account both feeding into and out of Outlook. But since adding my MM acct. - even though I set it as my default mail acct. - the hierarchy tree of Outlook folders is still treating my old acct. as king and my new MM acct. as second class. I know, what's that mean? I have my overriding "Personal Folders" folder, with the sub-folders (in addition to customized ones I added) - all of these at the same level - 'Deleted Items'; 'Inbox' (for my old account); 'Junk E-mail'; 'RSS Feeds'; 'Sent Items' and "Search Folders". Then, below that, but at the same hierarchy level as "Personal Folders", I have my MM's root of an IMAP store folder that has as its name my email address, including the "@me.com". Under that, at the same level of importance as my 'Deleted Items', etc. for my old account is my MM account's "Inbox", "Junk E-mail", "Sent" (which, like I said, I created when I sent the first email from my newly created MM account), and "Search Folders"... that's it. If I delete an email from my MM acct., or am in the process of creating an email in my MM acct., I can only find it in the aforementioned "Deleted Items" or "Draft" folders, as my MM acct. doesn't have these. Is this perhaps one indicator of my sent mail synching problem? Or does one have nothing to do with the other? Does Outlook only provide one each of "Drafts", "Deleted Items" and "Outbox" that all accounts share?

  • How do I import mail from Outlook 2010?

    When I try to import my emails from Outlook 2010 I get the following message:
    "An error occurred importing mail from Outlook
    Unable to find mail to import. Check to make sure the mail application is correctly installed on this machine."

    You'll need to do it from a 32bit version - Mail/Live mail do not recongise outlook 2010 64 bit.  Dropping EML files into Outlook folder has always created new messages with attachments - this is nothing new.
    ETA: if you can email the messages as attachments, you can drag them from the message and drop them in the Inbox.  This obviously works best if there aren't hundreds of messages to convert. :)
    There are 3rd party utilties that can make the conversion but they may not work with the 64bit version. See http://www.slipstick.com/config/convmsg.htm for a list of programs that can make the conversion but i don't know if any of them work with 64bit outlook.
    Diane Poremsky [MVP - Outlook]
    Outlook Tips: http://www.outlook-tips.net/
    Outlook & Exchange Solutions Center: http://www.slipstick.com

  • Can't send or receive mail from Outlook

    just purchased a wireless router and hooked up recently. Can access the internet & outlook express but can't get my mail from outlook which is my main email account. Message says can't find exchange server. I can access Outlook from my laptop wirelessly at work but not at home.
    Any suggestions?

    checked the ip address of the computer when its connected to the router using the command promt.(example.....ip address: 192.168.1.100; Default Gateway:192.168.1.1).
    Open an internet browser (ie, mozilla, netscape,etc.). Type at the address bar the default gateway (192.168.1.1). and you will see a username and password promt for your router. Leave the username blank and use admin for your password, if it doesn't work use the password you setup the router to..
    Once you see the setup page.... you'll be at basic setup sub tab under setup. Look for MTU. Set it to MANUAL and LOWER IT TO 1300.  Save the settings. Check your outlook if its working....If its Does't work do this
    Go to Applications and Gaming tab.
    Look for a port triggering sub tab. type it this way
    Application NameTrigger Port RangeIncoming Port Range
    application       triggered range     forwarded range
    E-mai                 l25 ~ 25                   113 ~ 113
    forwarded range is equevalent to incoming port rage...
    hope this will solve your concern.... 

  • Migrate Mails From Outlook (mac) To Outlook (windows) ?

    Hi Everybody,
    I am in search of best solution for transferring mails from outlook (mac) to outlook (windows). There are a lot of mails that i need to transfer. I have looked into many forums for the solutions but most are for making IMAP account and all. I don't have such
    a good technical hand in doing such stuff, so i am looking for other alternatives. Fast and Problem solving answers will be really appreciated.
    Thank you

    just needed to add alittle info in this thread...
    I was also looking for solution to import my outlook for mac mails to windows outlook and I was taken to olm to pst converter pro website via this thread. 
    The information that i wanted to add is that Olm to pst converter pro is available in mac version too, which allowed me to convert outlook for mac files into pst format in just a few clicks and  the only thing I had to do is transfer the converted
    pst file and import it into windows outlook.
    I got this tool here: http://olmtopstconverterpro.com/download-olm-to-pst-converter-pro-instant-digital-download/
    Tha whole process was completed in merely 15-18 mins which is the fastest results I have found til now. I hpoe that in information also helps other looking for solution to migrate outlook for mac files to windows outlook.
    Thank you

  • Archiving E-mails from Outlook 11

    In Windows versions it was possible to Archive E-mails from Outlook into one acrobat file. This was so useful and was a great way to clear out old projects and e-mails that might be needed at a later date. I have spent a small fortune in moving from Windows to MAC with also purchasing Office and Acrobat Pro to now find problems such as this is very annoying .
    I see in the Adobe Video a link to combine E-mails into a PDF. But its not there on my MAC. Will there be an update to address this very useful feature or am I missing something.

    I wouldn't hold your breath waiting. Many of us have been trying to get the Acrobat team to give more feature equity with Windows for years. The Acrobat team is mainly focused on the Enterprise market, and they haven't yet learned that more Enterprise customers are moving to the Mac. Maybe by Acrobat 20!

  • TS3276 can't download mail from windows live account.  I have deleted and re-set up the account but still won't work.  I can go online and access with no problem or get mail from other apple devices.

    Not able to get mail from windows live account.

    Firefox can find plugins in several locations, but Firefox 21 changed the location of the "shared" plugin folder so older installers like the Microsoft Windows Media Plugin no longer drop the DLL file in the correct location.
    There apparently are two ways to address this:
    (1) Change a Firefox preference so that Firefox checks the old location. Here's how:
    (i) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (ii) In the filter box, type or paste '''plugins''' and pause while the list is filtered
    (iii) Double-click '''plugins.load_appdir_plugins''' to switch its value from false to true.
    This will take effect after you restart Firefox.
    (2) Copy the plugins folder to the new location. Here's how on Win 7 64-bit:
    Open a Windows Explorer window to:
    C:\Program Files (x86)\Mozilla Firefox
    Right-click and copy the '''Plugins''' folder
    Double-click the '''browser''' folder to open it
    Right-click and paste
    Right-click the new copy of '''Plugins''' and rename it to '''plugins'''
    After restarting Firefox, the plugins in that folder should now be available.
    ''Edit: I suggest just doing #1.''

  • Clean install Exchange 2013 on win2012 server and separate win2012 R2 DC not sending mail from Outlook

    Hello,
    I'm struggeling with a problem. I've a clean installed exchange 2013 on a windows 2012 server. The DC is on a separate server. But I can't send a mail from Outlook and the recieve connector is correctly configured. There are no error's and mail in the queue
    Even sending a mail from the OWA ends in the Drafts folder from that user.
    Can somebody help me with this?
    Thanks Michel

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

  • How do I get Mail from my hotmail account?

    I was wondering if I could get my mail from my hotmail account right into my mail. Also if I could get mail from an address originally opened on Windows with Outlook Express. Thanks a lot.

    The short answer, for now, is you don't. It's increasingly clear that Microsoft does not want to extend this privilege to users of free HotMail accounts, not does it want to offer POP3 access to anyone other than paying HotMail Plus users at this point, and for the foreseeable future. And, IMAP: that's out of the question, apparently.
    While the plugin idea is a nice one, the referenced open-source HTTPMail plug in is broken by Mac OS X 10.5, and nothing has been heard to date from the developer about an update to support Mail in Leopard.

Maybe you are looking for