PHP Classes

Error: Connecting to mail server

Recommend this page to a friend!

      Receive Mail  >  All threads  >  Error: Connecting to mail server  >  (Un) Subscribe thread alerts  
Subject:Error: Connecting to mail server
Summary:Error: Connecting to mail server
Messages:6
Author:jacob noel
Date:2009-10-21 19:15:58
Update:2012-07-06 18:32:45
 

  1. Error: Connecting to mail server   Reply   Report abuse  
Picture of jacob noel jacob noel - 2009-10-21 19:15:58
This is my setting $obj= new receiveMail('demo2@twigaonline.com','demo2','demo2@twigaonline.com','mail.twigaonline.com','pop3','110',false)

but i am getting errorError: Connecting to mail server

Please help

  2. Re: Error: Connecting to mail server   Reply   Report abuse  
Picture of Bruno Bandeira Bruno Bandeira - 2010-06-22 20:42:09 - In reply to message 1 from jacob noel
i have the same problem!
:(
can you help me please!
many thanks

  3. Re: Error: Connecting to mail server   Reply   Report abuse  
Picture of Peter Uhlyarik Peter Uhlyarik - 2010-12-28 11:06:23 - In reply to message 2 from Bruno Bandeira
Try ssl set true.

  4. Re: Error: Connecting to mail server   Reply   Report abuse  
Picture of Clifton Hatfield Clifton Hatfield - 2011-03-08 17:40:19 - In reply to message 1 from jacob noel
Try changing line 36 in the class to $strConnect='{'.$mailserver.':'.$port. '/notls}INBOX';

  5. Re: Error: Connecting to mail server   Reply   Report abuse  
Picture of Ben Hastings Ben Hastings - 2012-01-17 09:31:56 - In reply to message 1 from jacob noel
I'm having the same trouble. I've tried both the suggestions above, but I still get the "Error: Connecting to mail server" message.

My code is:-
$obj= new receiveMail('maillist@xxx.com','xxxx','maillist@xxx.com','xxx.com','pop','110',true);

Please can anyone help?

  6. Re: Error: Connecting to mail server   Reply   Report abuse  
Picture of tony tony - 2012-07-06 18:32:45 - In reply to message 5 from Ben Hastings
example.php
change
<? to <?php