Bryan,

I have been using Jan Krynicky Mail::Sender for years.  It is easy and works
great.

James

http://jenda.krynicky.cz/#Mail::Sender

use Mail::Sender;

$sender = new Mail::Sender{
        smtp => 'MAIL02',
        from => '[EMAIL PROTECTED]'};

$sender->MailFile({
        to => '[EMAIL PROTECTED]',
        subject => 'Update/Insert Error In Outages Report',
        msg => "There was a problem parsing data on TRAD01.  The log is
attached.",
        file => 'C:\Logs\Parse20020226.log'
});


-----Original Message-----

>Date: Wed, 27 Feb 2002 10:33:10 -0800
>To: [EMAIL PROTECTED]
>From: "Bryan T. O'Malley" <[EMAIL PROTECTED]>
>Subject: sending a file as an e-mail Attachment using Perl
>
>
>I have used net::smtp to send e-mail. Works great.
>
>
>I am unable to figure out how to send a file as an e-mail attachment using 
>Perl.
>
>Any pointers toward the solution to this problem will be greatly
appreciated.
>
>Thank-you,
>
>Bryan.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to