|
Posted by Jerry Stuckle on 01/04/07 22:58
oopsbabies@hotmail.com wrote:
> Jerry Stuckle wrote:
>
>>oopsbabies@hotmail.com wrote:
>>
>>>Hello everyone,
>>>
>>>I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My
>>>machine is using Windows XP 2002 professional edition which comes with
>>>a Windows firewall. I am using McAfee free edition for anti-virus.
>>>
>>>I use an ISP provider from my country and according to them I do not
>>>need to perform authentication while sending mails through their SMTP
>>>address. Thus I am using external SMTP server. I don't have IIS
>>>installed in my computer nor do I have an SMTP server running.
>>>
>>>I tried the PHP's mail(...) function but the function fails. It reports
>>>that the connection to the SMTP host cannot be made. I set the SMTP
>>>host using the ini_set function as well as editing the php.ini and
>>>specifying the host (then again restarting Apache server). This doesn't
>>>help. The mail function still fails with the same error. Disabled the
>>>Windows firewall and McAfee anti-virus. But the same problem persists.
>>>
>>>Thinking that I may have somehow messed up the header information or
>>>not properly using CRLF, I used the phpmailer class. The classes have
>>>been installed properly.
>>>
>>>The phpmailer's send(..) function also fails with the error:
>>>
>>>Debug Warning: C:\Program Files\Pcounter Web
>>>Report\www\libraries\class.smtp.php line 177 - fsockopen(): unable to
>>>connect to smtp.wlink.com.np:25
>>>
>>>I am using the default port that is 25. Verified that my ISP provider
>>>also uses port 25 for SMTP.
>>>
>>>I debugged the phpmailer class and the fsockopen(..) function fails as
>>>you can also see from the above error message.
>>>
>>>fsockopen function returns false.
>>>
>>>The $errno = 10053 and the $errstr = "An established connection was
>>>aborted by a software in your host machine"
>>>
>>>Again disabling the firewall and McAfee the same error is reported.
>>>
>>>Could the reason for the problem be that I am using quite old PHP and
>>>Apache version. I searched the entire php.net sites but the exact
>>>problem is not faced by anyone. I guess no one uses Apache 1.3.33
>>>anymore. Could the incompatibility between Apache and PHP causing this?
>>>
>>>Any help would be appreciated very much
>>>
>>
>>I would be VERY surprised if they don't require any authentication.
>>This would leave them wide open to spammers, and within minutes of being
>>discovered they would be on every spam blacklist in the world.
>>
>>Rather, I suspect the person who indicated they don't require any
>>authentication doesn't know what they're talking about.
>>
>>There are a couple of commonly used ways to authenticate for outbound
>>mail - one is to require a userid/password to sign on to send email.
>>Another is to require you to check your POP3/IMAP mailbox first.
>>Checking that could give your IP address (i.e.) 30 minutes of outbound
>>mail without authentication. Then you would have to check your incoming
>>mailbox again.
>>
>>--
>>==================
>>Remove the "x" from my email address
>>Jerry Stuckle
>>JDS Computer Training Corp.
>>jstucklex@attglobal.net
>>==================
>
>
> Hi,
>
> Further information:
>
> I know a personal acquaintaince who works for the ISP.I talked to him
> and he assures that no authentication is needed. He is also a PHP
> programmer. Perhaps being inside the ISP's intranet he doesn't require
> one.
>
> When I try the telnet command "open" with the ISP's SMTP address and
> the port 25, the function returns so abruptly (within a blink of an
> eye) with a connection failure message. But when tried with different
> port address (23) it takes some time for the failure message to come.
> Maybe this means something.
>
> I am using the email account from my ex-ISP. It requires username and
> password. When I use MS-OUTLOOK I access the ex-ISP through the
> current ISP. So in the MS-OUTLOOK the POP3 is that of my ex-ISP and
> the SMTP is of the current ISP
>
(Top posting fixed)
Yep, it means the connection is being rejected by your ISP. I'm not
sure why it would do so before it got any data - but that looks like the
problem.
Check your SMTP parms in Outlook very carefully. Ensure that you're
accessing the correct server. Some ISP's have their mail servers on a
different system.
P.S. Please don't top post. Thanks.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|