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

Home Posts Topics Members FAQ

imap_open()

14 New Member
Hi all,

Expand|Select|Wrap|Line Numbers
  1. $mailbox = imap_open("{mail.mydomain.com/pop3:110}INBOX","$emailaddress","$password")
The above code is working properly in local machine. But It doesnt work when this page is uploaded into site. Please tell me the reason.

Thanks in advance..

- Nelson
Jan 21 '08 #1
2 1121
Markus
6,050 Recognized Expert Expert
Hi all,

Expand|Select|Wrap|Line Numbers
  1. $mailbox = imap_open("{mail.mydomain.com/pop3:110}INBOX","$emailaddress","$password")
The above code is working properly in local machine. But It doesnt work when this page is uploaded into site. Please tell me the reason.

Thanks in advance..

- Nelson
Do you receive any errors?
Jan 21 '08 #2
Nelson Joseph
14 New Member
Do you receive any errors?
No I did not receive any error.
Jan 22 '08 #3

Sign in to post your reply or Sign up for a free account.

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);
0
1589
by: R. Pelizzi | last post by:
hello, i'm getting a very strange behaviour with imap_open. My code does: $stream = imap_open("{{$_SESSION}:110/pop3}INBOX", $_SESSION, $_SESSION); then checks if that stream is valid... well, this code seems to work on some pop3 servers... on some servers, if($stream) evaluates to false and imap_error prints "Can not authenticate to POP3 server: POP3 connection broken in response" However i'm pretty sure authentication works, because...
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.
1
2508
by: Eric | last post by:
Hello, I am using imap_open ("{pop.server.com:110/pop3/ notls}INBOX","user","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_errors())), the real error message is "Security problem: insecure server advertised AUTH=PLAIN". But I do not understand this...
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
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2898
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.