You have no file given in your MailFile call. It may be as simple as this. The following is a cut and paste from CPAN. Perhaps you should be using the MailMsg method instead.
Cheers,
and further down in the doc...use Mail::Sender; $sender = new Mail::Sender {smtp => 'mail.yourdomain.com', from => 'your@address.com'}; $sender->MailFile({to => 'some@address.com', subject => 'Here is the file', msg => "I'm sending you the list you wanted.", file => 'filename.txt'});
MailMsg([from [, replyto [, to [, smtp [, subject [, headers]]]]]], me +ssage) MailMsg({[from => "somebody@somewhere.com"] [, to => "else@nowhere.com"] [...], msg => "Message"})
In reply to Mail::Sender, no errors, but no email either
by Random_Walk
in thread Mail::Sender, no errors, but no email either
by Nalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |