• Subject: RE: Move emails not working VB-Help!
  • Author: Sergio Neves
  • Date: 04 Jul
  • References: 1
Hi

I think I had a similar problem.
Is it an IMAP account?!

I tried to move messages of my Gmail IMAP account but since they use a
slightly different system (because of the labels) the move command does not
always work!
If you move the message manually in Outlook it works, but in VBA it does not.
I used the exact same code in another IMAP account and the code works fine.
Does anyone else had the same problem?!


Sergio



"Rivers" wrote:

> hi guys seriously had this working one moment changed something and since
> then didnt run ever again
> i need my mail at the end of pulling the attachments off to move the emails
> to another folder
>
> Ken helped me before explaining i need to step backwords in a loop but i
> seriously have no idea wat this means can anyone help the loop works for
> about three or four items and then throws up this error:
>
> CANNOT MOVE ITEMS
>
> the code is below
>
> thanks
>
> Do Until SubFolder.Items.Count = 0
> For Each Item In SubFolder.Items
> Item.Move otherInbox.Folders("Flash Processed")
> Next Item
> Loop
03 JulMove emails not working VB-Help!.Rivers
03 Jul|- Re: Move emails not working VB-Help!.Michael Bauer [MVP - ...
04 Jul\ RE: Move emails not working VB-Help!.Sergio Neves
All times are in (US) Eastern Daylight Time (GMT -4:00)