Results 1 to 7 of 7
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Moving messages to Inbox (OL 2000)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    When I display my Folder List in my Outlook, I see the following:

    Personal Folders
    Calendar
    Contacts
    Deleted Items with a + sign next to it.
    Drafts
    Inbox with a + sign next to it.
    Journal
    Notes
    Outbox
    Sent Items
    Tasks

    and now here comes the items of interest:

    Recovered Personal Folders with a + sign next to it.
    Deleted Items
    Lost & Found with a + sign next to it.

    Now in the Lost & Found I have some folders and they are named things like:
    Recovered Folder 8202
    Recovered Folder 8222
    Recovered Folder 8242
    Recovered Folder 8262
    Recovered Folder 8282
    Recovered Folder 82A2
    Recovered Folder 82C2

    All of these have some messages in them, and I want them to be moved to the Inbox above.

    But when I enter any of these folders and select all the messages and Right Mouse Click and choose Move to Folder... the status bar come up, and the animation works, and I get the impression that its moving messages at the moment. But after its finished, I get the message:

    Could not complete the operation. One or more parameter values are not valid.

    Hum!!!

    What parameter, I asked it to move the messages from one folder to another.

    Oh the Recovered Personal Folders is coming from one of the .PST files I got damaged when it went over 2GBs in size, and then tried to truncate it using the Outlook Oversize repair tool.

    Now I can move messages from the other folders under the Inbox with no problem.

    Any Ideas?

    Thanks

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Moving messages to Inbox (OL 2000)

    The recovery obviously was not perfect. Try moving smaller batches, starting with the oldest items. Move EVERYTHING to at least one, possibly two, FRESH PSTs. This one sounds like a time bomb.

  3. #3
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Moving messages to Inbox (OL 2000)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> Jefferson

    Is the a smilie for some one who is shivering with fear?! Maybe this one <img src=/S/boxedin.gif border=0 alt=boxedin width=25 height=20>, or maybe this one <img src=/S/drop.gif border=0 alt=drop width=23 height=23> since fear can get you killed, trust me I am a volunteer paramedic, and I have seen it happen.

    OK so here is the question:

    How do I modify these lines
    <font color=blue>

    Set oOutlook = Outlook.Application
    Set oNameSpace = oOutlook.GetNamespace("MAPI")
    Set oFolder = oNameSpace.GetDefaultFolder(olFolderInbox)

    For Each oMessage In oFolder.Items
    </font color=blue>


    to go into the structure:

    Recovered Personal Folders with a + sign next to it.
    Deleted Items
    Lost & Found with a + sign next to it.
    Now in the Lost & Found I have some folders and they are named things like:
    Recovered Folder 8202
    Recovered Folder 8222
    Recovered Folder 8242
    Recovered Folder 8262
    Recovered Folder 8282
    Recovered Folder 82A2
    Recovered Folder 82C2

    This way I can run my VBA code, extract the attachments and trash that .PST and work of off one .PST that I will keep under 2GB.

    TIA

    Wassim
    PS Oh how do I discontinue using that .PST after I am done with it?
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Moving messages to Inbox (OL 2000)

    I'm having a strange sense of deja vu. In another thread there was the use of a PickFolder method. I absolutely must go eat dinner now or I'll pass out. However, please check the other thread with the PickFolder method in it. I think it makes sense to go one folder at a time rather than trying to do them all at once. And I think you could pass on Deleted Items unless you look in there frequently.

    P.S. If the problem PST is not your default delivery point for mail, you can remove it from your Folder Tree by right-clicking it and choosing Close "Friendly Name of the PST".

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Moving messages to Inbox (OL 2000)

    Here's a starter Pickfolder code sample:

    Dim nsNS As NameSpace
    Dim fldrSel As MAPIFolder
    Dim itmMsg As MailItem
    Set nsNS = Application.GetNamespace("MAPI")
    Set fldrSel = nsNS.PickFolder
    For Each itmMsg In fldrSel.Items
    -John ... I float in liquid gardens
    UTC -7ąDS

  6. #6
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Moving messages to Inbox (OL 2000)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> John

    This is exactly what I was looking for... Right on target.

    I tried to run the code, and it went OK, but I still can't move the messages out of these folders under the recovered .PST file.

    I think its trashed all over and I got what I wanted out of it, so now I can say Good Bye and deleted it.

    Thanks again for your help.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  7. #7
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Moving messages to Inbox (OL 2000)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> Jefferson

    John had included some code that I was looking for, and now I have added that code snipit to my application thus it can do any folder.

    The >PST file is trashed beyond any repair, and Outlook SP1 did not tell me anything about the size limitation. Thus I did not know about it, and all I remember was that I got an error message that it could not place a message into a folder, and I pressed OK thinking that it will go into the Inbox.

    It did not, and now the .PST file is a bit more than the 2GB limitation, and I am having a terrible time trying to get it to work again. I tried the truncation utility and then the Inbox repair utility, the truncation utility failed at 500MB and I got the file that I had told you about earlier in this thread.

    I worked with it, and now over the weekend I am going to try and work on the 2GB .PST file and see if I can get it to work.

    I'll send a new message with what I find.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •