Page 1 of 1

fsockopen()

Posted: Sat Feb 14, 2009 12:30 am
by longlife
hi,
i have a problem with fsockopen() . can anyone help me to handle this

$fp = fsockopen("ssl://smtp.gmail.com", 465, $errno, $errstr, 10);

i got the following error messages

Warning: fsockopen() [function.fsockopen]: SSL: Connection reset by peer in /home/zero/www/sf_sandbox/apps/frontend/modules/pager/actions/actions.class.php on line 23

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /home/zero/www/sf_sandbox/apps/frontend/modules/pager/actions/actions.class.php on line 23

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unknown error) in /home/zero/www/sf_sandbox/apps/frontend/modules/pager/actions/actions.class.php on line 23
(0)