Had the same problem a while ago but now here is the solution.

I went and got MIME::Tools perl module. It came with program called
mimesend. I modified line so it will use qmail-inject to send out emails.

Works perfect. You can go and dl MIME::Tools or you can use the one 
I'm using.

mimesend -t [EMAIL PROTECTED] -s Test -f filename.txt

-t <- who gets email
-s <- subject
-f <- file name that you want to send

assumption is that qmail-inject is in /var/qmail/bin/qmail-inject

- Lucas




On Fri, 25 May 2001 10:19:51 +0530
"mugundhan" <[EMAIL PROTECTED]> wrote:

-> hi all,
-> 
-> i have qmail installed on my linux box
-> and iam using a perl script to send out mails using qmail-inject.
-> iam just wondering how to send attachments using my perl script.
-> i tried but eventually falied. i really dont know what iam missing out.
-> 
-> can anybody please help me out.
-> 
-> there should be a covering message in plain/text and there should be an
-> attachment.
-> 
-> thanks and regards.
-> 
-> s.mugundhan
-> 
-> 


_______
Lukasz Gogolewski - [EMAIL PROTECTED]
Tel: 347.452.6837 - Fax: 718.504.4822
SupremeDesigns    - www.supremedesigns.com

mimesend

Reply via email to