Sending attatchments is very easy....if you want to modify your own Perl
function, here is
a sample for TXT attatchments. What I'm sharing is a Perl program called
mmail(1). run it
with -h to get the help stuff. See SendMail() function for an example of
writing attatchments.


davidu wrote:

> I would recommend that if you have mutt installed you just use mutt
> from the command line, it is one for the few MUA's that can work from
> the command line without user intervention.read the mutt
> manpage.-davidu
>
>      -----Original Message-----
>      From: mugundhan [mailto:[EMAIL PROTECTED]]
>      Sent: Monday, April 23, 2001 12:57 AM
>      To: qmail
>      Subject: how to send attaching in qmail using perl
>      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]
>
--
=======================================================================
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================


Emanuel.exe

Reply via email to