Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fetch emails from gmail

I have enabled imap on my gmail account which I am using for testing to read inbox using imap in php.

However, I have successfully connected with other server and read emails from those server but gmail is blocking the connection and throwing the errors as given below:

imap_open(): Couldn't open stream {}. Can't connect to,993: Connection timed out; Can't connect to,993: No route to host; Can't connect to,993: Network is unreachable

i am using Webklex/laravel-imap package