• Resolved Smexhy

    (@smexhy)


    Unable to connect. The server said: IMAP - Could not connect to IMAP server imap.websupport.sk on port 993. Array
    (
        [0] => A0002 NO Invalid login or password
    )

    Using sockets I get this error every time when I test my configuration. Only cURL works. Any idea why it says invalid login or password when the credentials are correct?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    cURL notoriously doesn’t work for IMAP in many cases. Are you actually pulling in emails with cURL?

    Sockets is typically pretty reliable. Postie is just reporting what the email server responded with. So likely the credentials are incorrect.

    Thread Starter Smexhy

    (@smexhy)

    cURL is the only thing that works for that specific website. It’s not possible for the credentials to be incorrect, since without changing any crdentials, just switching from sockets to curl makes the postie test show it’s connecting correctly. If for some reason changing connection type changes the credentials, it’s possible for them to be incorrect, sure, but otherwise I am not touching them at all. I found it weird as well, since the error itself isn’t making self. I have 2 other websites on the same webhosting that works fine with sockets, so I am wondering, what’s wrong on that one. Same credentials are being used for example in outlook as for email client just fine.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I can’t really tell you anything else. If cURL works for you then I’d say go with it.

    Thread Starter Smexhy

    (@smexhy)

    It works, but it does have issues with PublishPress Future plugin. Once I add attachment, it’s not expiring posts, so I thought I would try different connection method in postie to try if it helps.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Connection type is unrelated to the functioning of PublishPress Future.

    Do you have the PublishPress Future/Post Expirator AddOn installed? https://postieplugin.com/downloads/postie-addon-for-post-expirator/

    Thread Starter Smexhy

    (@smexhy)

    Nope, didn’t know there is one. Though this would only be needed if I wanted to have different post expirations for different posts right? I want every post published with postie to expire automatically on pre-defined day. It also is working, but only when I don’t add attachment to the mail, which I find strange. Once I add attachment, no cron job is created by future post and their debug toll shows nothing useful. Got me wondering if this issue is because of postie and the whole curl/socket thing, or future press is doing something wrong that’s preventing it.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    The AddOn ensures your post is connected to PublishPress Future. It allows for different expirations, but doesn’t require it. By default it will use the PublishPress Future defaults. I haven’t heard of anyone having issues with attachments.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘NO Invalid login or password error’ is closed to new replies.