Re: [siesta-dev] some thoughts

[prev] [thread] [next] [lurker] [Date index for 2002/10/11]

From: Richard Clamp
Subject: Re: [siesta-dev] some thoughts
Date: 15:57 on 11 Oct 2002
On Friday, Oct 11, 2002, at 15:50 Europe/London, Gavin Estey wrote:
> Richard Clamp <richardc@xxxxxxxxx.xxx> wrote:
>> It seems that you could do what you're suggesting by optionally
>> passing to => $list, but then each Send::* class has to do more work.
>>
>
> At the moment Send::Sendmail just does:
>
>     open SENDMAIL, "|/usr/sbin/sendmail -oi -f $from " . join ( ' ', 
> @to )
>
> Which will break horribly if the list is big.
>

Sure, but that's a bug in the module - it should probably construct N 
commandlines less than the system calling limit instead.  Calling one 
process with multiple recipients remains a win though.

It also will break it if @to is just a bunch of empty strings or 
undefs, but I'm less sure which end should filter it.

-- 
Richard Clamp <richardc@xxxxxxxxx.xxx>


There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52