hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : php + imap_open error ?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

php + imap_open error ?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-06-2008, 07:19 AM
map007 map007 is offline
Junior Guru
 
Join Date: Apr 2008
Location: India
Posts: 227
Question

php + imap_open error ?


Hi,

I am getting the following error :-->

imap_open(): Couldn't open stream {localhost:143/imap/notls}

How can i check imap_open is enable or not because i have already install on the server but when i check phpinfo.php file , its not there so please guide me how can i resolve it.

"telnet localhost 143 " its working fine without any problem.

Thank you.

Reply With Quote


Sponsored Links
  #2  
Old 10-06-2008, 08:07 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
Use the following php script to check the imap_open function.

PHP Code:
$mailbox imap_open("{localhost/pop3:110}INBOX","#username#","#password#");

$check imap_check($mailbox);
print(
"Number of messages : " $check->Nmsgs); 

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #3  
Old 10-06-2008, 09:31 AM
map007 map007 is offline
Junior Guru
 
Join Date: Apr 2008
Location: India
Posts: 227
Hi,

I got the following error :-->

Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost/pop3:110}INBOX in /home/domain/public_html/mail/phpmail.php on line 2

Warning: imap_check(): supplied argument is not a valid imap resource in /home/domain/public_html/mail/phpmail.php on line 4
Number of messages :

Reply With Quote
Sponsored Links
  #4  
Old 10-06-2008, 11:40 AM
map007 map007 is offline
Junior Guru
 
Join Date: Apr 2008
Location: India
Posts: 227
Hi,

I got another error on Imap -->

LANG_ERROR_UNABLE_TO_OPEN_MAILBOX localhost:143: Unable to create selectable TCP socket (5256 >= 1024)

Reply With Quote
  #5  
Old 10-06-2008, 04:49 PM
mellow-h mellow-h is offline
a lazy evangelist ...
 
Join Date: Nov 2005
Location: /etc/fstab
Posts: 1,145
You error is detecting your IMAP is not running on the default port 143. Check and verify again whether your IMAP is running or not. Most likely it is not running.

__________________
Mellowhost - Affordable Cpanel and WHM Reseller Hosting
R1Soft, RVSitebuilder, RVSkin, Softaculous, Fantastico, Domain Reseller and many more ...
Learn Hosting

Reply With Quote
  #6  
Old 10-07-2008, 12:24 AM
map007 map007 is offline
Junior Guru
 
Join Date: Apr 2008
Location: India
Posts: 227
Hi,

I have checked "telnet localhost 143" its working perfectly that i have mentioned in previous reply.so please give solution ......

Thank you.

Reply With Quote
  #7  
Old 10-08-2008, 05:23 AM
map007 map007 is offline
Junior Guru
 
Join Date: Apr 2008
Location: India
Posts: 227
Hi,

I want to add php_imap.so file can any one guide me from where i can download it.I'm using RHEL5.2 with WHM.

Thank you.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Endurance to Offer Open-Xchange Email Services to Customers Web Hosting News 2012-05-30 13:49:44
New on WHIR TV: Open-Xchange CEO Rafael Laguna at the OX Partner Summit Blog 2011-12-02 16:10:28
Email Firm Open-Xchange Anticipates 42 Million Users by Year End Web Hosting News 2011-11-04 15:13:21
Email Firm Open-Xchange Names GM Americas, Announces Expansion Plans Web Hosting News 2011-10-17 15:10:57
Spanish Web Host Acens Partners with Open-Xchange Web Hosting News 2011-09-08 15:55:41


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?