473,789 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

imap_open issue

Hello,
I am using imap_open ("{pop.server.c om:110/pop3/
notls}INBOX","u ser","password" ) in a page that gets emails with pop3
protocol.
Imap_open works perfectly on my PC + easyphp1.8, but not on a server +
Debian + php5/Apache2 + php5-imap. Error message is "Couldn't open
stream". Looking further (print_r(imap_e rrors())), the real error
message is "Security problem: insecure server advertised AUTH=PLAIN".
But I do not understand this message ...
Eric

May 18 '07 #1
1 2508
On 19 mai, 02:32, matt <mattyfro...@gm ail.comwrote:
On May 18, 6:02 pm, Eric <eric.mathie... @gmail.comwrote :
I would personally look at your mail server configuration. I do not
have much experience with imap, however I used it once. My suspicion
is that if it does not work out of the box its most likely the mail
server settings.
I thought the same on the beginning. But it is working on the PC, so
it seems to be due to the Debian settings/tools. On the concerned
server, telnet on port 110 is working but not my imap_open function.
May 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8340
by: James Turnbull | last post by:
I am having troubles with some imap_open() I am using the following code: <?php $mbox = imap_open ("{mailserver:993/imap/ssl/no-validatecert}INBOX", "user", "password"); echo "<p><h1>Mailboxes</h1>\n";
0
915
by: Jaysheel Mehd | last post by:
I will be running the script with imap_open() on the IMAP server as root. Can I run imap_open() without entering the password for a user. Is there any other way as an administrator, to open user's mailbox and perform imap_uid and imap_msg without entering user's password? Thanks Jaysheel
2
2097
by: Rodney Pont | last post by:
I'm trying to use imap_open to get news from a server that requires a user name and password. I'm using $nntp = imap_open("{".$newsserver."/nntp:".$port."}".$newsgroup, $newsuser, $newspass, OP_ANONYMOUS); and it's failing to connect.
0
2312
by: Dennis Biletsky | last post by:
Hi, I have a problem to connect mailbox using IMAP_OPEN. There is no problem to connect using standard port such as imap_open ("{10.0.0.0:143}INBOX", "user", "pass"), but I have a problem connect using secure connection such as imap_open ("{10.0.0.0:993/imap/tls}INBOX", "user", "pass") or imap_open ("{10.0.0.0:993/imap/ssl}INBOX", "user", "pass"). When I use MSOutlook, it connects without problem using ssl. Any ideas?
0
1740
by: Hartt | last post by:
hi,all I have written a php scripts to test my mail server which built with Cyrus-imapd 2.2.3 OpenLDAP Postfix. <?php if(!imap_open("{MailServerDomain:143/imap/notls}INBOX","username","password")) echo "error is ".imap_last_error()."\n"; else echo "successful";
2
3480
by: amiliv | last post by:
I'm attempting to connect to Cyrus IMAP server using imap_open() function. The connection is sucessfull, however there is a delay and warning message about "rsh failure". I added /norsh flag to connection string, but it seems to be ignored. The call to imap_open() currently looks something like this: imap_open("{cyrus.google.com}/tls/novalidate-cert/norsh/service=imap/user=cadm", "cadm", "secret", OP_HALFOPEN); As I said, it works....
0
1587
by: oliversl | last post by:
Hi, I have a stock RHEL4 server and not that the imap_open() function no longer works. I have a local pop3 server running dovecot that I use to autenticate with this line: $imap_stream = imap_open("{mailserver:995/pop3/notls/ssl/novalidate-cert}", $username, $password, OP_HALFOPEN);
4
20009
by: qccitchy | last post by:
G'day, I am so stuck I am pulling what's left of my hair out. Any gurus out there that can help me with this would be greatly appreciated. I am relatively new to php and am trying to connect to a pop 3 mail server using imap_open. I have read the manual and numerous website, tryed numerous classes, been confused, lost my mind, gone back to basics and I am at wits end.
2
3253
by: Eric | last post by:
Hello, I use imap_open ("{pop.server.com:110/pop3/ notls}INBOX","user","password") in a function to get email from pop3 server. But, it is not working on my new serveur, and it was working on my old one (error message : Security problem: insecure server advertised AUTH=PLAIN). What are the items I have to install to make imap_open work (I have already installed on my Debian php5-imap, openssl) ? Is there any configuration ?
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9499
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10374
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8998
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5540
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.