Webklex / laravel-imap

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
https://www.php-imap.com
MIT License
637 stars 181 forks source link

Trying to connect to outlook #421

Closed jbarretodev closed 3 years ago

jbarretodev commented 3 years ago

image

i dont know why? but it is throwing that exception....

i am doing this...

image

my config

image

my .env

image

jbarretodev commented 3 years ago

Please... i need some help

Webklex commented 3 years ago

Hi @jbarretodev , thanks for your question. Can you provide the entire call stack / stack trace? So far it could be anything. Please check if outlook.office365.com is reachable by your host.

A few additional questions:

Best regards,

jbarretodev commented 3 years ago

i change my .env value SSL or TLS to tls and now show me that!

im using php7.4, nginx, ubuntu 20.04

"webklex/laravel-imap": "^2.4", "webklex/php-imap": "^2.7",

image

jbarretodev commented 3 years ago

image

Webklex commented 3 years ago

Hi @jbarretodev , many thanks for the followup.

What happens if you change IMAP_ENCRYPTION to ssl or tls (all lowercase) and / or enable IMAP_VALIDATE_CERT?

Best regards,

jbarretodev commented 3 years ago

COOOL MAN! jajajaa it work now! THANKS! hey just one more question.... with this library can i download file from emails??

Webklex commented 3 years ago

I'm glad I could help :)

Yes you can, check out these links for more information and examples:

Best regards,

jbarretodev commented 3 years ago

Cool man! Thanks a lot!

eliezermbr commented 1 year ago

@jbarretodev do you have a guide on how to create a connection with outlook?