in reply to Mail::Sender, no errors, but no email either

Nalina,

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,

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'});
and further down in the doc...
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
    Thanks for the reply. After posting to the forum, I realized that MailMsg should be used instead of MailFile if the file need not be attached.