[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects
Wed, 28 Aug 2002 00:30:47 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-111
Now you can use the new MailHost object from a DTML 'sendmail'
tag. This is explained in more detail in Chapter 8, "Variables
and Advanced DTML". The API for MailHost objects also allows you
to send mail from Python scripts. For more information, see the
online help system.
% Anonymous User - June 3, 2002 3:18 pm:
To be complete, I think you should show a simple example here. If not, don't have the reader set the MailHost
now unless he's going to get to use it right away. It leaves the reader with an unsatisfied thirst.
% Anonymous User - June 13, 2002 7:04 am:
I have the same feeling!
% Anonymous User - June 22, 2002 9:39 am:
But I have beer!
% Anonymous User - Aug. 28, 2002 12:30 am:
Catch regarding MailHost:
Seems (in Linux, at least) that MailHost forcefully requires entries in the /etc/hosts file having the ip
address and hostname of the machine where it runs. Somehow there seems to be a dependency on /etc/hosts
nevertheless there is a DNS service running that can resolve the MailHost's host name/address. Can someone
elaborate on this issue? Is there a way of just having DNS (not /etc/hosts) for MailHost to function