[PEAR-DEV] RE: [imp] Problem sending mail using SMTP (was)
Session timeout when loggingon
Jeff Graves
jeff at image-src.com
Mon Feb 17 20:55:54 PST 2003
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 at image-src.com - Email
Quoting Jon Parise <jon at 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 at php.net) :: The PHP Project (http://www.php.net/)
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the imp
mailing list