Jump to content

Alternative to Fsockopen


Rusnoff

Recommended Posts

Doesn't work either.

 

Error:

 

Warning: pfsockopen() [function.pfsockopen]: unable to connect to customer-smtp.one.com:25 (Connection timed out) in /customers/geldklikker.eu/geldklikker.eu/httpd.www/mail/class.smtp.php on line 105

 

Line 100-105:

 

    
<?php
    #connect to the smtp server
        $this->smtp_conn = pfsockopen($host,    # the host of the server
                                     $port,    # the port to use
                                     $errno,   # error number if any
                                     $errstr,  # error message if any
                                     $tval);   # give up after ? secs
?>

 

$host=correct host (works in mailing program).

$port = 25

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.