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 like emailing a customer when product ships.
FYI! This project has moved to GITHUB! You can see the repository here: https://github.com/captbrando/pgMail
WE HAVE MOVED!!!
Please visit the project page (linked below) for all new and relevant information, including requests for help!
It is working but how to send attachments in mail
Pgmail works wonderful.
very good program pgmail.