Received: from fondos.net ([216.247.232.112]) by hub.org (8.9.3/8.9.3) with ESMTP id EAA35049 for ; Thu, 6 Apr 2000 04:50:28 -0400 (EDT) (envelope-from oserra@fondos.net) Received: from p500windows (rad120136.radius.teleline.es [195.235.120.136] (may be forged)) by fondos.net (8.9.3/8.9.3) with SMTP id KAA00638 for ; Thu, 6 Apr 2000 10:51:09 +0200 From: "Oscar Serrano" To: "pgsql-interfaces@postgreSQL.org" Subject: a trigger that sends an email Date: Thu, 6 Apr 2000 10:50:20 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal X-Archive-Number: 200004/33 Hi: I need to do something special. I need that when a new record is inserted in one of my tables, the system sends an email. I thing I need to create a trigger. And I thing I need to create a function that sends an email. Is it possible? May I do the function that sends the email in Perl? Any idea? Thank you very much.