SMTP not working

Hi i installed new 3.0.2 in my server installation not gives any problem but mails are not sending. I configured my server SMTP details into config.inc.php file i tested servaral times to send mail but no use. I have checked error log there is no related information about email erros. Webmail is working perfectly. This same email id and password i used for SMTP but it’s not working. I check my SPF rules enabled but no use. How can i solve this mails problem.

smtp_server = "smtp.host"
smtp_port = 465
smtp_auth = ssl
smtp_username = "admin@email.com"
smtp_password = "pass" 
allow_envelope_sender = Off

Hi @murali,

Do you have access to your mail server’s delivery log?

Regards,
Alec Smecher
Public Knowledge Project Team

You may get more detailed log information with the patch here which is scheduled for OJS 3.1.
https://github.com/pkp/pkp-lib/pull/2421

Hi Good Evening
I have placed my details in single quotes is it right syntax.
Thanks for your support.

I am using php 7.0 it gives deprecation methods in error log.