On Fri, Aug 10, 2001 at 01:45:35PM -0000, Frederik Van Herterijck wrote:
> I'm having some problems sending e-mail from within a perl program
> using qmail.
>
> Can someone tell me how I can easily send and receive mails in perl
> using qmail. I'm trying and trying but nothing works.
> Qmail works perfectly.
This isn't really a qmail question. Reply-to set appropriately.
Perl has nearly any way you can imagine to send mail.
1. Net::SMTP -- this is the one I prefer
2. using a pipe to qmail-inject (mentioned elsewhere in this thread)
3. using a pipe to the sendmail wrapper
are the best three, in order, IMHO.
I'm not aware of any _reason_ you'd want to recieve mail in a Perl
program -- that's what your MTA is there for.
--
Greg White