Hi,
I'm trying to decide between adding my own notification event or writing myself a wrapper around $Kernel.SMTPClient. The former has the advantage that it requires no low-level SMTP plumbing and relies on SMTP settings established by the administrators as well as properly handling the case where the user's email address is not part of their profile. The downsides of writing a custom notification event are the lack of documentation, and the fact that there doesn't appear to be a registry of event IDs which I assume need to be globally unique. With the SMTP client route, I can always get at the SMTP settings from notification (assuming it's enabled).
The reason why I'd want a custom notification rather than using one of the existing notification events is that I want to send notification that a job that runs in a block of Oscript has completed.
-Hugh