0 Replies Latest reply on Jul 6, 2015 9:30 AM by StephenHowerd1

    CFIMAP Not Moving Messages in GMAIL  -

    StephenHowerd1 Level 1

      I am downloading  attachments and trying to move the message(s) to a "downloaded" folder   when I use  

       

      <cfimap  action="CreateFolder"  folder="downloaded"  connection="gmailconnection">

      <cfimap action="MoveMail" connection = "gmailconnection" newfolder="downloaded" >  gives me the below error. 

       

      An exception occurred while performing action MoveMail in cfimap tag. The cause of this exception was: java.lang.IllegalStateException: This operation is not allowed on a closed folder.


      I am successfully downloading the attachment(s).  and I can mark the messages as being read.  I can delete the files   I just can't seem to "move" the files.


      Any help would be greatly appreciated,