Sorry to bump such an old thread, but since it appears this was discussed but never finished I figure I'll continue the discussion.
I started to work on SMTP support. I integrated the SMTP configuration into the normal Admin config area in the tab where the LDAP connections and paths are configured. I modifed that section a bit so it can accommodate SMTP and LDAP connection configuration and testing. I'm using the following class to build the email and send it out via SMTP...
http://www.phpclasses.org/browse/package/9.htmlIt seems like a very robust class. It supports sending emails in lot of different ways, supports multipart/related and multipart/alternative emails, adding attachments, and it supports SMTP over SSL with authentication. It also has great debugging output for testing the SMTP settings. And it's licensed under the BSD license, so it's GPL compatible. It has great documentation too.
I've attached the patch I'm working on. You need to apply it to a clean SVN tree and then do a normal OA setup, because it needs to create a new table for the holding the SMTP information (because it can contain username/passwords...don't want to store those in plain text =/).
I'm sure there are lots of things that could be sent via email from the interface, such as sending the PDF with machine details via an email with a link to the page, or instead of exporting search information, sending it as an email. An event notification system would be something neat to implement to. Such as sending emails if a new machine is added to the DB and it matches certain criteria, etc.
Still tweaking a few things on the patch, so not completely done yet, but it's close.