Would you consider creating an output module for email? It would be quite useful for generating alerts. While one can use exec_async to send email, it is rather cludgy. 




AskedDecember 30, 2014 - 8:22pm

Answer (1)

We have considered implementing this but the issue is that smtp is complex. This would need to be robust and should provide message queueing, async delivery, TLS, etc. IMO it's better to hand off the email to an external process that does the message delivery. Calling exec_async() to invoke /usr/bin/mail is just that, though I agree that this is a little ugly. Ideally this should be a cross-platform solution so that the same config would work on windows and *nix.

Feel free to comment if you have any suggestions.