dbTalk Databases Forums  

Emailing a list of users when a record is entered in the database.

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Emailing a list of users when a record is entered in the database. in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nick Tew
 
Posts: n/a

Default Emailing a list of users when a record is entered in the database. - 01-27-2004 , 06:14 AM






Hi,

I need to develop my database so when a record is entered through a
browser, it will automatically email a list of interested parties. I
am ok at designing the tables so the relevant personid's have the
email address and their interested subjects. But can anybody help on
how to email the parties when the data is passed.

The only knowledge i have on this is the command

"cat {filename} | mail {emailadd} -s {subject}

Thanks in advance for any help

Reply With Quote
  #2  
Old   
Derrick Betts
 
Posts: n/a

Default Re: Emailing a list of users when a record is entered in the database. - 01-31-2004 , 01:18 AM






I installed a great function called pgmail. Then I wrote a trigger that
sends email when certain conditions are met.
see: http://sourceforge.net/projects/pgmail/

Derrick

----- Original Message -----
From: "Nick Tew" <nick.tew (AT) budgens (DOT) co.uk>
To: <pgsql-novice (AT) postgresql (DOT) org>
Sent: Tuesday, January 27, 2004 5:14 AM
Subject: [NOVICE] Emailing a list of users when a record is entered in the
database.


Quote:
Hi,

I need to develop my database so when a record is entered through a
browser, it will automatically email a list of interested parties. I
am ok at designing the tables so the relevant personid's have the
email address and their interested subjects. But can anybody help on
how to email the parties when the data is passed.

The only knowledge i have on this is the command

"cat {filename} | mail {emailadd} -s {subject}

Thanks in advance for any help

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.