Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [imap-open]

It is a member of PHP's collection of functions dedicated for dealing with IMAP (Internet Message Access Protocol)

imap-open
1 vote
0 answers
35 views

Major IMAP services aren’t connecting to imap_open() in PHP

When connecting to a major IMAP service in PHP, I get a "Connection refused" error. I don't understand why this is happening. I have tried iCloud (imap.mail.me.com), Yahoo! (imap.mail.yahoo....
Dneail's user avatar
  • 11
0 votes
0 answers
245 views

Why imap_open gives the error “SSL negotiation failed” when connecting without SSL

I am trying to connect to imap server using imap_open() php function wihtout SSL, but I got error "SSL negotiation failed" What could be the reason? I run imap_open("{myhost.com:143/...
Kirill Ponosov's user avatar
0 votes
0 answers
77 views

imap_open() function getting stuck on unreachable ip address using php-7.4

Below is my code and i m using PHP-7.4.33 $mbox = imap_open ("{10.10.10.1:995/imap/ssl/novalidate-cert}", "user_id", "password",0,0); print_r($mbox, true) now wen hit on ...
Vandan's user avatar
  • 1
0 votes
0 answers
130 views

Not able to Sync my Outlook mail server to my localhost server using imap_open

When trying to get all mails from mailbox I got this error: Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/tls}INBOX in C:\xampp\htdocs\Phpimapdoc\index.php on line 8 ...
Sreekanth's user avatar
0 votes
0 answers
637 views

PHP imap_open for Microsoft Outlook from Basic Authentication to Modern Authentication

We are using imap_open() PHP function to connect and read outgoing and incoming emails (to,from,subject and time) and record them on our custom built CMS for recording emails sent and received by our ...
Adeel Ahmed's user avatar
0 votes
0 answers
164 views

How do I resolve IMAP connectivity error?

Can anybody help regarding this issue. The email didn't received through the imap_open function. I have seen a problem with this function. imap_open($hostname, $username, $password) or die('Cannot ...
MUNEEB SALEEM's user avatar
1 vote
0 answers
1k views

imap_open in php suddenly stopped working reading office 365 mail box from 15 Oct 2022

imap_open in php suddenly stopped working reading office 365 mail box from 15 Oct 2022. Talked to a Vendor of Office 365. He adviced to use TLS 1.2. But I have no idea how to use TLS 1.2 in my code. ...
kumarsunit's user avatar
2 votes
1 answer
8k views

PHP - Office365 connecting with imap_open

thanks for the anticipated help. Does anyone know the current state of php connecting to office365 using imap_open? I have tried all the suggestions found on stack overflow and my current code is ...
user3601664's user avatar
0 votes
2 answers
6k views

Getting error like this imap_open(): Couldn't open stream

I am trying to access my company mail id (the mail provider is Gmail) inbox using IMAP. I have applied almost all the possible solutions available here and also on google. But I am facing the same ...
Anisha Krishnan's user avatar
0 votes
1 answer
133 views

SoapFault exception: [HTTP] Could not connect to host / php imap - signature has expired

If anyone is having issues with these errors, theres been compatibility changes to LetsEncrypt. Unless both your polling and answering server are on compattible versions, you can fix your error by ...
Derick Van Wyk's user avatar
3 votes
2 answers
674 views

Why not connect PHP imap/pop3?

I'm sorry, I speak a little English. Some days try, try and try. Read all stackoverflow questions and answers this, but no help. I would like only one imap connection. I try some webhost and not works....
jozs2021's user avatar
1 vote
1 answer
587 views

Trying to connect to email server from php script using imap_open

I'm not a programmer, so please bear with me. Sorry if this is dumb. I can create and use php scripts on my website no problem. For the last few days, I've been trying to figure out a way to check my ...
JohnF's user avatar
  • 11
0 votes
2 answers
423 views

imap_open on server Aruba.it

To receive mail I usually use: imap_open('{mail.sito.com:143/notls}', $user, $pass); I am having difficulty however when I have to connect to an email on Aruba server. i tried with: {mail.website.com:...
Marco's user avatar
  • 11
1 vote
0 answers
154 views

Webmin server, PHP imap_open() not working properly

My client use webmin server for using the CRM which is developed by me, in mailbox module, if user choose a email which they want to open in a mail box every thing is perfectly sometimes, if emails ...
Eibs's user avatar
  • 106
1 vote
0 answers
212 views

How to get new emails on the first try with imap_open in php

I have a PHP script which opens an email inbox, searches for the last email and then performs some other operations if this email has the UNSEEN header. The script is run by a cron job, and it works ...
F_Bass's user avatar
  • 373

15 30 50 per page
1
2 3 4 5