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') 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> Any help would be greatly appreciated. Thanks. -Asad __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
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 )
Ensure that the SMTP server you're sending through is configured to allow relays from your domain. Dylan At 01:52 PM 2/17/2003, 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')
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>
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 )
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')
Your SMTP server refuses to talk to your web server. This is normal, most SMTP servers will refuse to talk to your webserver. :) You need to use the SMTP server that is configured to handle outgoing mail from the network your webserver is located on.
participants (4)
-
Asad Habib -
Dylan Reinhardt -
Lennart Regebro -
Peter Bengtsson