If you don't care about the message also going to the vcld.log file.

You can call the utils mail routine from any of the other modules.

mail($to,$subject,$mailstring, $from)

$from is optional

Aaron

--On October 19, 2009 5:12:55 PM -0400 Brian Bouterse <bmbou...@gmail.com> wrote:

As esxthin.pm manages the image library hosted on a NetApp storage
system, the module monitors for important events, and would like to
notify an administrator more pro-actively then logging it as a critical.
Is there a VCL utility function, or existing example code which would be
able to send an e-mail to the VCL administrator?

This code would be a stop-gap until a more formal storage provisioning
architecture is worked out in the future.

Thanks,
Brian


Brian Bouterse
NEXT Services
919.698.8796




Reply via email to