Begin forwarded message:

> From: [EMAIL PROTECTED]
> Date: Sat May 18, 2002  04:30:36  US/Pacific
> To: [EMAIL PROTECTED]
> Subject: Does Mail::Mailer work?
>
> We'll see

George -

just loaded up what I needed to run this from bbedit ....
{ have I mentioned that bbedit on an OSX box is the obligatory
and mandatory Perl IDE - since you can cut the HTML as well.... }


        use strict;
        use Mail::Mailer;

        my $server = "mail";

        my %headers = (
        From    => '[EMAIL PROTECTED]',
        To        => '[EMAIL PROTECTED]',
        Subject    => 'Does Mail::Mailer work?'
     );

     my $body = "We'll see";

     my $mailer = new Mail::Mailer ("smtp", Server => $server);
     $mailer->open(\%headers);
     print $mailer $body;
     $mailer->close;


ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to