OPNsense Forum

English Forums => General Discussion => Topic started by: spi39492 on March 01, 2022, 05:50:33 PM

Title: send emails via php - how to implement with minimum impact for future updates
Post by: spi39492 on March 01, 2022, 05:50:33 PM
Hi all

I am looking for a quick&dirty way to setup some php plugin and hook it to the newwanip signal (to send emails on wan ip address change). It really should be simple in a way that future opnsense updates won't become a hassle.

I've got an idea how to create that plugin but I couldn't find any php mail libraries or something to send emails.

Does anyone have an idea or suggestion how to get this done by using php and keep the installation of new libs or patching the existing environment to a minimum?