in reply to Mail::Sender, no errors, but no email either
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"})
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mail::Sender, no errors, but no email either
by Nalina (Monk) on Aug 16, 2004 at 11:03 UTC |