Re: RE: [imp] Problem sending mail using SMTP (was) Session timeout when loggingon

From: Date: Tue, 18 Feb 2003 01:55:54 +0000
Subject: Re: RE: [imp] Problem sending mail using SMTP (was) Session timeout when loggingon
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13431@lists.php.net to get a copy of this message
Just replaced it. Seems to work fine. Thanks, Jeff Graves Customer Support Engineer Image Source, Inc. 10 Mill Street Bellingham, MA 02019 508.966.5200 x31 - Phone 508.966.5170 - Fax jeff@image-src.com - Email Quoting Jon Parise <jon@php.net>: > On Fri, Feb 14, 2003 at 11:05:40PM -0300, Damian Alejandro Fernandez Sosa > wrote: > > > You're right! the function must check that the SIZE must be greater than > > 0 to disconnect. > > Right. > > > here I propose a patch to correct this and also verify that the contents > > of the SIZE parammeter is a numeric value (just for safety) > > That part is unnecessary. Non-numeric values will evaluated to zero, > so a "greater than zero" test will filter those values out. > > I've just committed a fix for this problem: > > http://cvs.php.net/diff.php/pear/Net_SMTP/SMTP.php? login=2&r1=1.31&r2=1.32&ty=u > > If someone (Jeff?) can verify that it works as advertised, I'll > release a new version of the Net_SMTP package with the fix. > > -- > Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/) > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/

« previous php.pear.dev (#13431) next »