> Hi
> 
> I know how to use sendmail with perl, but not sure about 
> qmail. How much does the piping syntax of qmail differ to sendmail?


man qmail-inject
That shows you how the command line would go then you just put it in ::

open (MAIL,"|/var/qmail/bin/qmail-inject -f $from");

The difference is that, for security, you have to ( ?? or at least should ) do the -f 
switch and then have the from address there. 

Althought the best way tot do it is use a module, that way it's portable and just 
generally creamier.

I use Mail::Sender and it has served me very well ( Thanks Jenda !! ) and does lots of 
stuff 
but there are lots of modules that handle mail you could try.

Check out CPAN http://search.cpan.org

DMuey


> 
> Thanks in advance.
> 
> Dan
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to