At 13:52 2003-02-17 -0800, Asad Habib wrote:
Hello. I am using the sendmail command to transmit an email message to a particular person and I keep getting the following error:
Error Type: error Error Value: (61, 'Connection refused')
I _think_ this is because your computer is not connected to the internet. Or that the smtp server at the moment refuses the connection. Use some sort of 'try' statement which debug-prints something like "Not connected, otherwise the email would have been sent".
My code is as follows:
<dtml-sendmail smtphost="name of server" port="25" mailto="my email address" mailfrom="group email address" subject="Your New Password"> <dtml-var name="passwordMessage"> </dtml-sendmail>
I thought it was to="my email address" and from="group email address", but there could be more than one way of doing it. Peter
Any help would be greatly appreciated. Thanks.
-Asad
__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )