Hi,
pgMail is a small TCL based script that you can store within any
PostgreSQL database. Once it is stored there, you can create any number of
specialized procedures to send email from directly within PostgreSQL.
For example, the function can be used in a triggered procedure to send the
email.
Please visit the below link for details of pgMail:
http://pgmail.sourceforge.net/
Feedbacks can be directed to btw@btw.net and bhuvansql@myrealbox.com.
regards,
bhuvaneswaran