Re: [INTERNALS-WIN] mail() sending local hostname instead of fully-qualified hostname as HELO

From: Date: Thu, 25 Jun 2009 18:10:39 +0000
Subject: Re: [INTERNALS-WIN] mail() sending local hostname instead of fully-qualified hostname as HELO
References: 1 2 3 4 5 6 7  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-519@lists.php.net to get a copy of this message
Hi Rick 2009/6/25 Rick Yorgason <rick@longbowgames.com>: > Hey Kalle, > > Actually, is that isdigit check really necessary?  The docs for gethostname > specify that "it is guaranteed that the name returned will be successfully > parsed by gethostbyname". As far as I reach the documentation, then it can be either way and I don't think that gethostbyname would like an IP as an argument when theres also the gethostbyaddr. I don't if its really needed, but as a "just" in case to prevent future "bugs" it might be a good thing to also have this posibility. I want to include this bug fix in the first 5.3 maintaince release (5.3.1), as its way to late in the 5.3 process to include this non critical bug fix. -- regrads, Kalle Sommer Nielsen kalle@php.net

« previous php.internals.win (#519) next »