Open ArmandoWork opened 6 years ago
Are you using this on Gmail?
Hey, The Email Account is on our own Exchange Server. So no Gmail, hotmail, bluewin or such things.
I have tried this code with different imap account and seems to work properly.
Can you tell what error do you see in logs?
Hey short update to last comment. Looks like the Email we use doesnt go over our Exchange Server, instead it goes over dovecot server with imap.
Can you try using adobe coldfusion? It works?
You can run an instance in 5 minutes using commandbox. Otherwise, if you can create a new blank email I can test it locally for you.
Hello There,
We recently found out, that in Lucee our old Tag doesnt realy work anymore. So i search for a solution and i found your Solution. Now if tried to implement it, but i have some issues. I copied the imap.cfc in the main Lucee tag folder and reloaded Lucee. On first glance it worked because i didnt get the Error that Connection is not a valid commad for the tag.
But now there is this Problem. In my script i get the List off all the Folders and search through it to find the one main folder, if the folder doesnt exist i creat a new one. But i get the Error from Lucce, that my Variable doesnt exist. Even though i just set it before.
Do you know what the problem is maybe? your code is only a extention to the lucee cfimap so it shouldnt remove some commands right? Did i implement the .cfc wrong maybe? DO i need to restructer a bit of the older Code?
The start of my Code & Error:
-cfimap action="open" server = "MyServer" username = "MyUser" secure="no" password= "MyPassword" connection = "MyConnection"-
-cfimap name="MyVariable" action="ListAllFolders" connection="MyConnection"- -cfdump var="#MyVariable#"- -cfabort-
The Lucee Error: Lucee 5.2.6.6-SNAPSHOT Error (expression)
Message | The key [MYVARIABLE] does not exist.
PS: Sorry about the layout, I dont use this Site often.