i am trying to use this module in a program to send a file or files and
everything works except the file attachment part.  i cant seem to attach the
file to the email.  here is the code that i have written.  note that i have
also tried other variations of this code as well.  if anyone has used this
Mail::Sender module before, I would appreciate your comments.  thanks

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;
}        





---
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