2 Replies - 538 Views - Last Post: 27 January 2012 - 09:50 AM Rate Topic: -----

#1 bernalglenn  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 75
  • Joined: 04-February 10

I can't register using yahoo emails..

Posted 27 January 2012 - 04:12 AM

I can't register using yahoo emails..but when i used gmails it works fine. Even though this " extension=php_openssl.dll " doesn't have semi-colon, here is the error message.
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in C:\wamp\www\LYFWebsite\Connections\lib\classes\Swift\Transport\StreamBuffer.php on line 233
hope you can help me :) God bless us all

Is This A Good Question/Topic? 0
  • +

Replies To: I can't register using yahoo emails..

#2 codeprada  Icon User is offline

  • Changed Man With Different Priorities
  • member icon

Reputation: 946
  • View blog
  • Posts: 2,355
  • Joined: 15-February 11

Re: I can't register using yahoo emails..

Posted 27 January 2012 - 07:20 AM

Did you restart your web server?

This snippet works fine on my end.
<?php
	$fs = fsockopen('ssl://smtp.gmail.com', 465, $errno, $errstr);
	if(!$fs)
		echo $errstr;
	else
		echo 'Connected';
	fclose($fs);
?>


Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,495
  • Joined: 23-August 08

Re: I can't register using yahoo emails..

Posted 27 January 2012 - 09:50 AM

Another one where the answer may very well be in the error message itself:

Quote

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in C:\wamp\www\LYFWebsite\Connections\lib\classes\Swift\Transport\StreamBuffer.php on line 233


Emphasis mine.

Try uncommenting this line

extension=php_openssl.dll


in the php.ini and restarting the server.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1