Perl Script to send mail with Attachment

2004-05-14 Thread Satish Kumar
Hi ScriptKings, Im a newbie in Perl, Would like to know following Info: Can we create Perl Scipt to send Mails with Attachments Any Tips, Help, Code,Suggestions Guidance are Welcome Regards,Satish Do you Yahoo!?SBC Yahoo! - Internet access at a great low

RE: Perl Script to send mail with Attachment

2004-05-14 Thread Wenjie Wang
Try this: $mailer = MIME::Lite-new( From = $from, To = $to, Subject = $subject, Type = 'multipart/mixed' ); $mailer-attach(Type ='TEXT', Data ="" $emailbody); $mailer-attach(Type ='TEXT', Path = $anAttachment, Disposition = 'attachment', ); $mailer-send('smtp',

Re: Perl Script to send mail with Attachment

2004-05-14 Thread Alexander Apprich
Hi Satish, Satish Kumar wrote: Hi ScriptKings, Im a newbie in Perl, Would like to know following Info: Can we create *Perl Scipt to send Mails with Attachments* Any Tips, Help, Code,Suggestions Guidance are Welcome The module Mail::Sender is probaply what you are looking for... This

Re: Filehandle Question

2004-05-14 Thread Dirk Bremer \(NISC\)
It occurs because the only kind of variable allowed for specifying the filehandle is a scalar--no array or hash elements. There are (or course) several solutions. One is actually documented in the entry for print in perlfunc: print({$Self-{FH}} $TimeStamp$LogMsg\n); Another possibility is

Re: Automating a HTML request....

2004-05-14 Thread Richard Morse
On 13 May 2004, at 03:39 PM, George Gallen wrote: Not sure how to go about this, or which modules to best use. I need to first request a web page, then post that form with a value filled in. Basically, nightly we want to poll a vendor with out orders to complete a report for the am that

Retrieve process list

2004-05-14 Thread Gianvittorio Negri
Hi perler's. I'v the need to test the existence of a process running on some W2K boxes and the status of some services . In order to do so it is possible to run, using a script, some utilityes like sc.exe and pslist.exe and retrieve the stdout. My questions are: it is possible to use some

RE: Retrieve process list

2004-05-14 Thread Anderson, Mark (Service Delivery)
Yes there is loads of stuff... Win32::Process Win32::OLE WMI or you can handily download a module which does Starting/Listing/Killing of processes from here: http://www.perlmonks.org/index.pl?node_id=336024 Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 113 Dundas

Unistall Perl module

2004-05-14 Thread Harutyunyan Artem
Hi, I need to uninstall a particular Perl module which was installed in the following way: perl Makefile.pl nmake nmake install How it can be done ? Thanks in advance, Artem. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

Reading a file then going back a line.

2004-05-14 Thread Beckett Richard-qswi266
Guys, I have a script that reads a file line by line, looking for a start tag. When it finds one, it jumps to a processing routing that continues through the file, line by line until it reaches an end tag. Then it carries on looking for a start tag. I have just found a scenario where a start