Skip site navigation (1) Skip section navigation (2)

Re: Sending Email

From: Bud Rogers <budr(at)sirinet(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Sending Email
Date: 2002-01-17 23:26:53
Message-ID: E16RLvp-0003mg-00@sirinet.net (view raw or flat)
Thread:
Lists: pgsql-novice
On Thursday 17 January 2002 12:19 pm, Jason Earl wrote:

> The way to do this in a transaction safe way is to have some sort of
> process that runs outside of PostgreSQL.  You put the information
> necessary to generate your email into a table, and then you call the
> process (probably from cron).  

> Besides, generating and sending email is probably easier to do from
> Python or Perl than any method available internally to PostgreSQL.

It would be trivial to do in perl with DBI and MailTools.

-- 
Bud Rogers <budr(at)sirinet(dot)net>
All things in moderation.  And not too much moderation either.

In response to

pgsql-novice by date

Next:From: Doug RoyerDate: 2002-01-18 00:05:35
Subject: Re: [ANNOUNCE] Commercial: New Book!! PostgreSQL book is
Previous:From: Josh BerkusDate: 2002-01-17 22:30:36
Subject: Re: PL/PGSQL function problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group