[Zope] Sending Mail from Page Template

Paul Winkler pw_lists at slinkp.com
Tue Sep 23 17:05:10 EDT 2003


On Tue, Sep 23, 2003 at 10:48:24PM +0200, Matthias Suencksen wrote:
> Hello!
> What is the most elegant way to send an email
> from a page template?
> 
> My current solution is to call the send() method
> of the MailHost object from an "External Method".
> 
> Is there a more direct way?

Well, it works just as well from a Script (python) as
from an external method.

But there is nothing like dtml-sendmail, if that's what
you mean.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SEMI-INEFFICIENCY HERMIT!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list