24 Nov
2001
24 Nov
'01
11:56 a.m.
How about this: can I use the Zope "MailHost" object from within an external method to send mail? I've looked at the MailHost source code but it's not obvious how I would make the calls.
mh.send("A long string that is the message", "foo@bar,com, bar@foo.com", "from_me@mydomain.com") Where mh is the MailHost object (you can get it from the context of your external script).