NET:SMTP Subject Method
- Hi everyone.
First thanks for everyones help with the problems I
was having with getting net:stmp to install. The
person who suggested I install bundle-libnet (or maybe
it was libnet-bundle) hit the nail on the head. This
installed the net:smtp module.
I have a script that looks like this:
#Send E-mail for Critical Alerts
#Here we define our parameters
$to = 'test@...';
$from = "Openview";
$body = "Critical Alert";
#Here we use the module $ pass parameters
$smtp = Net::SMTP->new('10.11.1.134');
I copied most of it from the documentation but the
documentation doesnt seem to specify how to create a
subject field. Does anyone know how to do this? The
link to the module page is right here.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software