OCS Sending Email (Problem)

Hello Admin, Please can you see this error **
[25-Nov-2017 18:07:46] ocs2 has produced an 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 file: C:\wamp\www\ConferenceSystem\lib\pkp\classes\mail\SMTPMailer.inc.php**
** At line: 166**
** Stacktrace: **
** Server info:**
** OS: WINNT**
** PHP Version: 5.2.6**
** Apache Version: Apache/2.2.8 (Win32) PHP/5.2.6**
** DB Driver: mysql**
** DB server version: 5.0.51b-community-nt**
Considering that this is my configuration.
I’m using Wamp Server and I tested sending Email using phpMailer. It worked.

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = “ssl://smtp.gmail.com”
smtp_port = 465

; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = PLAIN
smtp_username = “mail@gmail.com
smtp_password = “password”

Appreciated with any help Sir.

Did you perform a search of this topic on the internet? For example, there is a similar question on StackOverflow: