Sudden PHP Error “Warning: imap_open() [function.imap-open]: Couldn't open stream”

前端 未结 5 1920
忘掉有多难
忘掉有多难 2021-01-20 11:54

Okay, this code \'was\' working perfectly and then I started playing around with it in order to let others connect to their e-mails and as you do ran into a few open stream

5条回答
  •  情歌与酒
    2021-01-20 12:38

    I ran into this problem and here is how I solved it;

    • Login to your gmail account, Under Settings -> Forwarding and POP/IMAP -> Enable Imap.
    • Go to https://www.google.com/settings/security/lesssecureapps and select "Turn On"
    • Go to: https://accounts.google.com/b/0/DisplayUnlockCaptcha and enable access.

    after this, above code works for me....

提交回复
热议问题