Skip to main content
Participating Frequently
July 6, 2015
Question

CFIMAP Not Moving Messages in GMAIL -

  • July 6, 2015
  • 1 reply
  • 669 views

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,

    This topic has been closed for replies.

    1 reply

    Participant
    November 5, 2020

    Were you able to find a solution for this?