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
641 stars 182 forks source link

NO LOGIN, Unable to connect to ssl://localhost:993 (Connection refused) #488

Open DevelopmentNightmare opened 10 months ago

DevelopmentNightmare commented 10 months ago

I always get the error: "NO LOGIN". I updated my firewall to open port 993. Can't seem to make it work. The e-mail address that i'm trying to connect to does allow "IMAP" connections.

$client = Client::make([
      'host' => 'outlook.office365.com',
      'port' => 993,
      'encryption' => 'ssl',
      'validate_cert' => false, //Just for testing, otherwise true.
      'username' => 'USERNAME,
      'password' => 'PASSWORD,
      'protocol' => 'imap'
  ]);

dd($client->connect());

Could anyone point me in the right direction?

Bataino commented 10 months ago

I'm also Facing similiar issues, Any help?