Re: Sending email from PL/pgsql

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Sending email from PL/pgsql
Дата
Msg-id 3FA0D2EF.10605@myrealbox.com
обсуждение исходный текст
Ответ на Sending email from PL/pgsql  (aderuwe@aqs-carcontrol.be (Alexander Deruwe))
Список pgsql-general
Alexander Deruwe wrote:
> I was wondering if it is possible to send email from within PL/pgsql.
> I'd like to do this to avoid code duplication in multiple frontends.
> Can this be done somehow?  Or do I have to write a C function for this
> purpose?  If so, how does one go about that?

You can write a postgresql function in C that calls libesmtp to send mails.

http://www.stafford.uklinux.net/libesmtp/

  Shridhar


В списке pgsql-general по дате отправления:

Предыдущее
От: aderuwe@aqs-carcontrol.be (Alexander Deruwe)
Дата:
Сообщение: Sending email from PL/pgsql
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: tsearch ukrainian stemmer dict