--------------------------------------------
Michael D. Risser
Java Developer
Machine Vision Products, Inc.
760-438-1138 ext 107
--------------------------------------------
-- Due to the current economic situation, the light at the end of the tunnel
will be turned off until further notice.


-----Original Message-----
From: Michael Risser 
Sent: Thursday, June 07, 2001 8:48 AM
To: 'Patrick Tinley'
Subject: RE: email on win32


I had been thinking about installing Mail::Mailer on my system, and ater
reading your post I went ahead and tried it.

If you do 'search Mail' you'll see a listing of all the modules which
contain 'Mail' in their titles, and Mail::Mailer is not one of them.

an earlier post suggested using 'Mail::Sender' though, so maybe that would
be an easier route to take?

--------------------------------------------
Michael D. Risser
Java Developer
Machine Vision Products, Inc.
760-438-1138 ext 107
--------------------------------------------
-- Due to the current economic situation, the light at the end of the tunnel
will be turned off until further notice.


> -----Original Message-----
> From: Patrick Tinley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 07, 2001 8:48 AM
> To: [EMAIL PROTECTED]
> Subject: Re: email on win32
> 
> 
> I have tried to install this package a few times using ppm 
> but get an error:
> 
> Error installing package 'Mail::Mailer': Could not locate PPD file for
> package Mail::Mailer
> 
> Does anyone have any idea what I'm doing wrong?
> 
> Patrick
> 
> At 04:18 PM 6/7/01 +0100, you wrote:
> >On Thursday 07 June 2001  4:03 pm, you wrote:
> >> Does anybody know how to send email via a perl script on a 
> win32 system?
> >>
> >> Thanks.
> >
> >You need the Mail::Mailer module from the CPAN (see www.perl.com)
> >
> >Try this, it should work. I haven't used it in a couple of 
> months and I've 
> >just switched to Linux.
> >
> >use Mail::Mailer;
> >
> >$to_field = '[EMAIL PROTECTED]';
> >$from_field = '[EMAIL PROTECTED]';
> >$subject = 'blah...blah;'
> >
> >$mailer = new Mail::Mailer 'smtp', Server => 'yourserver';
> >%headers =
> >(
> >     'To' => $to_field,
> >     'From' => $from_field,
> >     'Subject' => $subject
> >);
> >
> >$mailer->open(\%headers);
> >print $mailer "Whatever you want to send as the body...";
> >$mailer->close;
> >
> >Geraint.
> >
> --
> Patrick Tinley, 
> XML Workshop Ltd.
> 10 Greenmount Industrial Estate, Harolds Cross, Dublin 12, IRELAND.
> Email: [EMAIL PROTECTED]
> Phone: +353 1 4547811; Fax: +353 1 4731626
> Web: http://www.xmlw.ie/
> 

Reply via email to