Grenoble, France - January 20, 2026
pg_utl_smtp is a PostgreSQL extension to create, manage and use Oracle-style UTL_SMTP package. The use and behavior is just like with the UTL_SMTP Oracle package. This work is released from the HexaRocket project.
This extension allows email notifications to be sent from triggers or stored procedures. By integrating the extension directly into the database, you can trigger data-driven actions without waiting for application intervention. Examples include security alerts or notifications when certain minimum thresholds are reached.
pg_utl_smtp v1.0.0 has been released, this is the first release of the extension which is compatible from PostgreSQL 12 to current.
This extension uses plperl stored procedures based on the Net::SMTP Perl module to provide the procedures of the UTL_SMTP package.
pg_utl_smtp is an open project under the PostgreSQL license created by Gilles Darold at HexaCluster Corp. as part of the HexaRocket migration solution. Any contribution to build a better tool is welcome. You can send your ideas, features requests or patches using the GitHub tools.
Links :
The pg_utl_smtp extension is an original work of HexaCluster Corp., HexaCluster is specialized in migration to PostgreSQL and PostgreSQL support. If you need more information please contact us
Documentation at https://github.com/HexaCluster/pg_utl_smtp#readme