PHP Classes

can't connect to the smtp

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  can't connect to the smtp  >  (Un) Subscribe thread alerts  
Subject:can't connect to the smtp
Summary:can't connect to the smtp
Messages:4
Author:oner
Date:2007-05-13 14:19:23
Update:2010-02-04 23:02:52
 

  1. can't connect to the smtp   Reply   Report abuse  
Picture of oner oner - 2007-05-13 14:19:23
hello I'm dowload your SMTP E-mail sending class end test it but I'm give this error message:

Resolving POP3 authentication host "mail.sonsuzhost.com"...
Connecting to host address "72.232.161.234" port 110...
S +OK Hello there.
C USER destek@sonsuzhost.com
S +OK Password required.
C PASS (mycorrectpassword)
S +OK logged in.
Resolving SMTP server domain "mail.sonsuzhost.com"...
Connecting to host address "72.232.161.234" port 25...
Cound not send the message to alsancak-izmir@hotmail.com. Error: could not connect to the host "mail.sonsuzhost.com": Connection refused

I can connect to the POP3 server but I cant connect to the smtp what is this error message: "Error: could not connect to the host "mail.sonsuzhost.com": Connection refused "

I'cant fix this :( can you help me ?

Thanks. I'm wait your reply

  2. Re: can't connect to the smtp   Reply   Report abuse  
Picture of oner oner - 2007-05-13 17:42:24 - In reply to message 1 from oner
I'm find the problem a firewall block the script I'm disable fire wall problem fixed

  3. Re: can't connect to the smtp   Reply   Report abuse  
Picture of oner oner - 2007-05-16 19:29:12 - In reply to message 2 from oner
awbs coders modified your script for awbs (www.awbs.com) this modification works with firewall but all awbs files encodeded with zend I can't see modifications :(

how it works your script with firewall? (I'm use csf firewall in my server (http://www.configserver.com/cp/csf.html)

  4. Re: can't connect to the smtp   Reply   Report abuse  
Picture of Jacek Jacek - 2010-02-04 23:02:52 - In reply to message 1 from oner
I have quite similar problem, but the error message I receive reads:

Resolving SMTP server domain "send.xxxx.com"... (an active smtp server)
Connecting to host address "91.198.169.21" port 25...
Cound not send the message to yy.xx@domain.com (an active email address). Error: could not connect to the host "send.xxxx.com": Connection timed out.

I test sending only to a single recipient. When I set the value of $smtp->timeout= ; to > 30 , I receive only a blank web page as the result. What is wrong?
Regards
Jacek