On 5/31/07, Ben Edwards <[EMAIL PROTECTED]> wrote:
Have been googleing for a while and don't seem to be able to find a perl library which allows me to send an email without having to resort to a callback. Can someone please point me in the correct direction.
snip
use Mail::Sender; my $sender = Mail::Sender->new( { smtp => 'mail.yourdomain.com', from => '[EMAIL PROTECTED]' } ); $sender->MailFile( { to => '[EMAIL PROTECTED]', subject => 'Here is the file', msg => "I'm sending you the list you wanted.", file => 'filename.txt' } ); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/