hi all,
 
iam using a perl script to send mails via qmail using qmail-inject.
 
my code looks like this:
 
$mailprog = "/var/qmail/bin/qmail-inject";
open(QMAIL,"|$mailprog -f mugund\@intercept-india.com");
print QMAIL "From: mugund\@intercept-india.com\n";
print QMAIL "To: recip\@recip.com\n";
print QMAIL "Subject: subject\n";
print QMAIL "Content-type: text/html\n";
print QMAIL "hi.this is a test\n";
close(QMAIL);
it works fine. now, i want to know how to make this script send attachments.
iam not knowing how to send attachments using this script in perl. what are the changes which i will have to make in this script in order to send attachments.
 
pls do give me a solution ASAP.
 
thanks in advance.
 
Have a nice day.
 
Regards,
S.Mugundhan,
Tech Solutions,
[EMAIL PROTECTED]

Reply via email to