OCS Sending Email

Hello Sir, Happy to write for you then Hope you are okay.
I had read many questions and answers related to this topic, Then I tried to do what I read but the result was nothing.

Where is the problem?

This my config.inc.php


; 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 = “mohamedbana2005@gmail.com
smtp_password = “mypassword”
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On

What I can do to make it work ?
Any help will be useful.

My second question is : How I can find apache log file in windows?

Do you have MS Windows server or local computer?

Local computer
I tried sending email from localhost

Do you have XAMPP for your Apache, PHP, MySQL?

No, I have Wamp Server

usually log files should be in
It is possible that some versions change location but it should be there.

There is no errors or any hints about Sending Email.

Sending mail should be checked if there is mail server installed and which mail service you use. Please try to send test mails to some of your e-mail addresses. You can ask people on wamp forum how to do that.

You said that “Mail Server installed”.
But I think I use this : “ssl://smtp.gmail.com”

I have a misconception, can you clarify your answer ?

Maybe this will help you.

or this

Please ask those questions on proper forums.

I tried to Send emails using one of WAMP methods and It’s worked.
But this I don’t need, What I need is how to send email from OCS using SMTP?

Please can you give me a worked configuration or a detailed steps to do that?

I’m sorry but this is vital for me.