Copy link to clipboard
Copied
I'm a having a problem with spaces in folder names with CFIMAP, any suggestions? besides remove the space
Thanks,
Matthew
Copy link to clipboard
Copied
It's a bit difficult to say too much without seeing your actual code.
Looks like your problem is with a setVariable() call rather than a
call though. Speaking of which: whilst it still works, didn't
the need to use setVariable() go the way of the dodo with... CF4 or
something?
--
Adam
Copy link to clipboard
Copied
<cfimap
action="GetHeaderOnly"
connection="serveraddress"
name="queryname" maxrows = "10" folder="#url.name#" >
Copy link to clipboard
Copied
It's still not the cfimap that causes the error in my opinion, but obviously you're using SetVariable somewhere else - and having problem with that.
CFIMAP works for me just fine with space in folder names (tested with gmail)
<cfimap port="993" secure="true" connection="myg" username="spaceball" password="12345"
action="open" server="imap.gmail.com">
Opened OK
<cfimap connection="myg" action="getheaderonly" name="mh" folder="mega maid">
Fetched OK
<cfimap action="close" connection="myg">
Closed OK
(username/password/folder *are* (sci-)fictionary, although they just might work )
-Fernis
Copy link to clipboard
Copied
Erroneous error;