Mail::Sender works fine:
use Mail::Sender;
$sender = new Mail::Sender
{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'});
Found at CPAN:
http://search.cpan.org/search?dist=Mail-Sender
Best Regards,
Doug
-----Original Message-----
From: Ajay Kumar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: need help !!
Hello all,
After learning basic perl programming, i learnt
DBI, LDAP by getting some help from this
user group. It was always been helpfull for me.
So, though this is DBI group, i thought
to catch u guys again for something more.
after getting user verifide from LDAP, i need to
inform all developers working under that
user, infact manager, by sending email with some
info gathered from LDAP.
any help on emailing from PERL ?
will appreciate highly.
Thanks
Ajay
=====
To the world you may be one person,
but to one person you may be the World
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com