I confirmed with my hosting/email provider that my imap port is 143. I've tried several others as well but get the same result. I'm trying to use webmail plus but I can't seem to connect using the mail api module.
---------------------
* warning: imap_open() [function.imap-open]: Couldn't open stream {mail.(mysite).net:143}INBOX in /home2/(mysite)/public_html/sites/all/modules/mail_api/contrib/imapwu_api/imapwu_api.module on line 73.
* warning: imap_status(): supplied argument is not a valid imap resource in /home2/(mysite)/public_html/sites/all/modules/mail_api/contrib/imapwu_api/imapwu_api.module on line 93.
* warning: imap_check(): supplied argument is not a valid imap resource in /home2/(mysite)/public_html/sites/all/modules/mail_api/contrib/imapwu_api/imapwu_api.module on line 179.
* warning: imap_fetch_overview(): supplied argument is not a valid imap resource in /home2/(mysite)/public_html/sites/all/modules/mail_api/contrib/imapwu_api/imapwu_api.module on line 165.
----------------------
Any ideas? Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | mail_api_ssl_errors.txt | 21.03 KB | Canine Coaches |
Comments
Comment #1
scripthead commentedCan they clarify the kind of authentication they require? Is it plain-text, SSL, etc? Try adding /notls in "Connection options:"
Comment #2
fuquam commentedMy service provider, Bluehost, said no encryption is required. I tried using SSL prior to asking them. What is /notls?
Thanks for the quick response.
Comment #3
Canine Coaches commentedHi, I am trying to get webmail_plus working with this module. I am getting the same errors as above. I have am not using encryption, I have tried with and without the /notls setting (do I need to add /nosssl for no encryption?). I have set up numerous online and desktop clients through this server with out these settings. My server requires auth., but just user/pasword. I have tried with mail.domain, localhost, and ip address. I have not tried encrypting per the docs that state to get everything working first. (I will try that in a minute).
I am a little confused by this post http://drupal.org/node/710010 I have changed my drupal account name and pass to match my mail account with no luck. I have also set my password in webmail_plus.
I also had this error on install, so I uninstalled, changed the code per comment #2 in this post http://drupal.org/node/493514 and reinstalled, but still got the error. This error goes away, so I am not sure if this is a problem as the post says this code fixes the problem.
I am using webmail_plus 6.1.16 and mail api 6.1.7 I am assuming these are compatible versions. I don't think any of the other modules have changed versions since the documentation was written. (thanks for bringing all these great modules to my attention as well, these are all great modules and I had not heard of any of them until I needed a mail client)
Any suggestions you can offer would be greatly appreciated.
Chris
update: still not working. Tried different authentication settings. (had it set to aes, and drupa pass matching mail pass, which is preferred.) Tried per user and got password incorrect error.
This is on a new 6.15 install with only the required modules.
ssl attempt was a disaster. I think because my host uses a different server (not mail.domain) for ssl imap. I am attaching the errors from that attempt, mysql errors, long list.
I tried clearing cache logging out and logging in with new username/pass (to match email), but that did not work either. I am now stumped. I am going to leave it alone forr a minute and see if something comes to me, otherwise I hope someone here can help with some ideas. Thanks
Chris
Comment #4
Canine Coaches commentedCouldn't attach to the edit comment. Here is the attached errors from attempting to use the ssl method
Comment #5
Canine Coaches commentedI am changing this to a bug report as I have now tried all reasonable possible solutions and still can get mail api to validate to my imap server and do not see username/password anywhere. I have worked around using /novalidate-cert (which doesn't make sense as I am not using encryption) as an "extra" command, which I believe verifies that there is a bug as it does connect to the server .I have changed/set my username/password multiple times, but cannot get it to validate using this info, and I do not see this info in any logs.
Chris
Comment #6
Fidelix commentedWell... i am getting all these errors too.
I tried everything you mentioned, no success.
Comment #7
baff commentedMy provider old me to add /imap/notls
but I still get
warning:
imap_open() [function.imap-open]: Couldn't open stream {imap.at.site.com:143/imap/notls}INBOX
Comment #8
scripthead commentedThat looks like a valid connect string. You should check with the provider as to what the correct formatting for the username should be. Some require just the username, some require it to be username@domain, others username%domain and there could be others.
You could also confirm this by trying to connect with a desktop client such as Thunderbird.
Comment #9
baff commentedGood advice! Thanks