fsockopen()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
longlife
Forum Newbie
Posts: 1
Joined: Sat Feb 14, 2009 12:27 am

fsockopen()

Post 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)
Post Reply