Re: [INTERNALS-WIN] mail() sending local hostname instead of fully-qualified hostname as HELO
[email protected] (Kalle Sommer Nielsen)
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
Hi Rick 2009/6/25 Rick Yorgason <[email protected]>: > 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 [email protected]