Comments (8)
Any help would be very helpful!
from lucee-cfimap.
I'm not sure how much help this is, but we are using this library and have almost identical code to what you posted here. It is working well for us. We are also connecting to imap.gmail.com.
Some things to check...
- Does it work if you specify a folder name in the getHeaderOnly call? folder="Inbox"
- Confirm that IMAP is actually enabled in the Gmail account settings area.
- Newer Gmail accounts have "allow access from insecure apps" turned off by default. This connection may be considered an insecure app. https://support.google.com/accounts/answer/6010255?hl=en
Because the same library is working for others using Gmail, I would lean toward the issue being specific to the account you are connecting to.
The only other possibility I can think of is a difference in the underlying Java version that is causing an issue. We're on 1.8.0_131.
Hopefully this helps!
from lucee-cfimap.
Hey Spraguey,
Thanks for the response. I will now try the different things you mentioned but I firstly wanted to state something.
I'm currently using the Lucee imap tag and with this I can successfully retrieve emails, it's just that most of the coldfusion imap tag functionality is missing. So by getting these emails I've to say that I think the gmail imap server is correctly implemented.
But I will try to dig some deeper to get this tag working. It would be very helpful to get the full functionality the imap has to offer.
Thanks again!
from lucee-cfimap.
Interesting. Given that Lucee IMAP works, you are right that it is probably not an issue with your Gmail account. I'm at a loss for what else it could be, then, because it is working for us. Maybe just different Lucee or Java versions?
from lucee-cfimap.
Hey,
I also said in the first post that I'm only using one file. But the library has two different imap.cfc files. It looks like the one in the folder is the logic and the one in the parent folder is a overlay code which you can use to get the imap functionality.
Should I use both files. If yes, how can I use the overlay cfc file?
Thanks in advance!
from lucee-cfimap.
UPDATE:
I've taken another look and found the solution! I added the other overlay cfc as a component and called it with createObject. I have taken a good look which parameters are expected and now it gives indeed a value back! I now can i.e. create a folder or delete it. With all the other functions available.
Thanks again for your help! Hope I can make a good email importer with this.
from lucee-cfimap.
Hi DrunkenMoose,
Please can you post the code of how you did this? I am having the same issue.
Lucee 5.2.8.50
OS | Windows Server 2012 R2 (6.3) 64bit
Apache Tomcat/8.0.28
1.8.0_66 (Oracle Corporation) 64bit
UPDATE: Oops, I had not copied the imap folder into the tags folder, just the imap.cfc.
Working now.
from lucee-cfimap.
Hi guys, sorry for the late response.
I have just tested this with my gmail account and it's working properly. I think the problem is with the default folder on gmail, which is "INBOX". Please can you give me more details?
from lucee-cfimap.
Related Issues (11)
- Make into Lucee extension HOT 7
- <cfimap> Doesnt save it as a Variable. HOT 5
- lucee-cfimap for idiots HOT 3
- SSL issue HOT 2
- MOVEMAIL - The parameter folder to function getFolder is required but was not passed in. HOT 8
- GetAll fails to save attachments with : in the filename on windows only HOT 3
- No From email
- Error when using maxrows HOT 1
- Wrapper with more intuitive object implementation HOT 1
- added attachment saving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucee-cfimap.