Re: TCLu and mail

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Sébastien HEITZMANN <2le(at)2le(dot)net>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: TCLu and mail
Date: 2001-05-27 10:45:18
Message-ID: Pine.LNX.4.30.0105271242400.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Melvyn Sopacua 2001-05-27 16:14:08 Postgres and chroot
Previous Message Sébastien HEITZMANN 2001-05-27 09:58:16 Re: TCLu and mail