Re: Need psql send email - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Need psql send email
Date
Msg-id 505B0940.809@iol.ie
Whole thread Raw
In response to Need psql send email  (pavithra <pavithra.ibt@gmail.com>)
List pgsql-general
On 20/09/2012 13:07, pavithra wrote:
> Hi All, I am new to postgresql. I want to send email by using pl pgsql.
> I want to know how to set up the configurations for mail server. Can any
> one help me in solving this?. [hidden email]

Hi there,

It's not possible to send email directly from pl/pgsql; it might be
possible in the untrusted form of pl/perl, but I'm not sure.

A possible alternative would be to have an external process poll a queue
table, take its data from there and send the emails.

HTH,

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Victor Yegorov
Date:
Subject: Re: Need psql send email
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Need psql send email