Search the archives of the Perl-Win32-Admin list for MAPI or SMTP.
Gary
-----Original Message-----
From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 3:52 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Redirecting Command Output to a file
Dear Friends,
I have a small task . Actually I have the following line in SCRIPT. I want
to redirect this command output a file.
system ("$netsvc $host /query \"$service\"") == 0 and warn "+error $!" ;
But I want this OUTPUT to be sent in a mail, either by sending it in a
Attachment or As a text in Mail.
Please suggest me how to redirect this output a FILE or MAIL.
I am using Win32::MAPI interface for Mailing.
Your help is highly appreciated
Regards
Rajuveera
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
