[Zope] Error Type: error Error Value: (111, 'Connection refused')

Hamzat Kamal k_hamzat@yahoo.com
Tue, 22 Oct 2002 09:07:56 -0700 (PDT)


Hi,

I encountered this problem when i ran this dtml codes:

<dtml-sendmail smtphost="mail.dnetsystems.net">
To: <hamzatk@dnetsystems.net>
From: <k_hamzat@yahoo.com>
Subject: how U dey

Message: I wish to see U later

</dtml-sendmail>



Error Type: error
Error Value: (111, 'Connection refused')


Traceback (innermost last):
  File /usr/local/zope/2-5-1/lib/python/ZPublisher/Publish.py, line 150,
in publish_module
  File /usr/local/zope/2-5-1/lib/python/ZPublisher/Publish.py, line 114,
in publish
  File /usr/local/zope/2-5-1/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
    (Object: contact)
  File /usr/local/zope/2-5-1/lib/python/ZPublisher/Publish.py, line 98, in
publish
  File /usr/local/zope/2-5-1/lib/python/ZPublisher/mapply.py, line 88, in
mapply
    (Object: testmail)
  File /usr/local/zope/2-5-1/lib/python/ZPublisher/Publish.py, line 39, in
call_object
    (Object: testmail)
  File /usr/local/zope/2-5-1/lib/python/OFS/DTMLMethod.py, line 127, in
__call__
    (Object: testmail)
  File /usr/local/zope/2-5-1/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
    (Object: testmail)
  File /usr/local/zope/2-5-1/lib/python/Products/MailHost/SendMailTag.py,
line 116, in render
    (Object: smtp.dnetsystems.net)
  File /usr/local/zope/2-5-1/lib/python/Products/MailHost/MailHost.py,
line 156, in send
    (Object: )
  File /usr/local/zope/2-5-1/lib/python/Products/MailHost/MailHost.py,
line 200, in _send
    (Object: )
  File /usr/local/zope/2-5-1/lib/python2.1/smtplib.py, line 187, in
__init__
  File /usr/local/zope/2-5-1/lib/python2.1/smtplib.py, line 222, in
connect
error: (see above)

Is there any other setting I have to do b4 using smtphost like this. 

I got the same error when trying to use MailHost.

Pls help.







=====
Hamzat kamaldeen Ishola Dnet Systems Limited. 223 Ikorodu Road, Lagos. Nigeria. 234 1 7749381, 234 08033011305 --- If Mistake is an opportunity to see better, then do not fear it, but ready to admit it. NOTE: Sentimental decisions are not mistakes but failures !!! 

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/