Обсуждение: TCLu and mail

Поиск
Список
Период
Сортировка

TCLu and mail

От
Sébastien HEITZMANN
Дата:
Hello

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 ?

or maybe how can i send mail instead ?

Please help, it drive me crazzy.

Sébastien HEITZMANN



Re: TCLu and mail

От
Don Saxton
Дата:
see java mail api
http://java.sun.com/products/javamail/
----- Original Message -----
From: "Sébastien HEITZMANN" <2le@2le.net>
To: <pgsql-admin@postgresql.org>
Sent: Saturday, May 26, 2001 4:00 AM
Subject: [ADMIN] TCLu and mail


> Hello
>
> 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 ?
>
> or maybe how can i send mail instead ?
>
> Please help, it drive me crazzy.
>
> Sébastien HEITZMANN
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


Re: TCLu and mail

От
Sébastien HEITZMANN
Дата:
I need something to send mail from a postgres function. I don't know if it's
possible to use the javamail api.

SEB


----- Original Message -----
From: "Don Saxton" <euphobot@pacbell.net>
To: <pgsql-admin@postgresql.org>
Sent: Saturday, May 26, 2001 8:48 PM
Subject: Re: [ADMIN] TCLu and mail


> see java mail api
> http://java.sun.com/products/javamail/
> ----- Original Message -----
> From: "Sébastien HEITZMANN" <2le@2le.net>
> To: <pgsql-admin@postgresql.org>
> Sent: Saturday, May 26, 2001 4:00 AM
> Subject: [ADMIN] TCLu and mail
>
>
> > Hello
> >
> > 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 ?
> >
> > or maybe how can i send mail instead ?
> >
> > Please help, it drive me crazzy.
> >
> > Sébastien HEITZMANN
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>


Re: TCLu and mail

От
Peter Eisentraut
Дата:
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


Re: TCLu and mail

От
Trurl McByte
Дата:
On Sat, 26 May 2001 (Saturday), SИbastien HEITZMANN wrote:

  SH> Hello
  SH>
  SH> I'm looking for a tool to send mail from within a postgres function. I've
  SH> found pgmail which do the job but it needs pltclU. I've installed pltcl from
  SH> a RPM from REDHAT 7.0 but where can i find tclu ? I've looked in the source
  SH> package and can't find anything about tclu. Where can i find it ?
  SH>
  SH> or maybe how can i send mail instead ?
  SH>
  SH> Please help, it drive me crazzy.
Try my ftp://trurl.anything3d.com/pub/Linux/our/pgsendmail-1.1.tar.gz
Simple mail() function for postgresql, for UNIX-like system only (used
sendmail).

--
     Trurl McByte, Capt. of StasisCruiser "Prince"

[Team romantic *000*]   [InterNIC: AR3200]   [RIPE: AR1627-RIPE]
[Fingerprint16: 98 C3 78 8E 90 E3 01 35 87 1F 3F EF FD 6D 84 B3]