Sébastien HEITZMANN writes:
> I'm looking for a tool to send mail from within a postgres function. I've
> found pgmail which do the job but it needs pltclU. I've installed pltcl from
> a RPM from REDHAT 7.0 but where can i find tclu ? I've looked in the source
> package and can't find anything about tclu. Where can i find it ?
I think it appeared in PostgreSQL 7.1.
> or maybe how can i send mail instead ?
Use PL/sh and write a function using mail(1).
http://www.postgresql.org/~petere/plsh.html
(Requires 7.1 as well.)
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter