On 04/26/00, "Bryan Galligan <[EMAIL PROTECTED]>" wrote:

> sub Email { 
>       $sender = new Mail::Sender{smtp => 'mail.foo.com',from =>
> "name\@foo.com"};
>       $sender->Open(
>                               {to => "$to_address", 
>                               cc => "CUJO\@foo.com",
>                               subject => "$subject",
>                               file =>
> "/home/cujo/cujo/BOB/dailylog.txt"});
>       $sender->SendLine("$body"),
>       $sender->Close;
> }

A study of the docs might help. You need to call MailFile or SendFile
to attach files, and a check of the return codes for errors might help 
too.

HTH,
Douglas Wilson

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to