Simple Email Notification

By Perchpole - September 20, 2016

Hello, All -

I want to create a simple notification plugin that will send an email whenever a record is added to the DB. It would work a little like Djulia's "AlertRecordSaved" plugin which is available to download - except in one important respect.

The records in question are not added to the DB directly via CMSB but by a script. (IPN responses from PayPal).

In this instance I am not entirely sure how I would...

a) Capture the new entry save action

b) Pull the details of the new entry into the plugin

As I say I am looking for a really simple understanding of how to achieve this. Can anyone point me in the right direction?

Thanks,

Perch