It's already several days that we have started experience issues with imap_open
function when try to connect to imap.gmail.com
it returns:
Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
Here is the sample of the code that I try to run:
imap_open("{imap.gmail.com:993/imap/ssl}INBOX", username, password, NULL, 1);
Can this be an issue with the versions of PHP/Open SSL? If yes how can I solve it?