I am facing an issue with sending emails using Zoho Mail SMTP in OJS version 3.3.0.13. Previously, I was using Gmail SMTP, but since the app password is no longer supported by Google, I switched to Zoho Mail. However, after changing the SMTP settings to Zoho, I encountered the following error:
2024/10/14 11:31:33 [error] 1037876#1037876: *39087 FastCGI sent in stderr: "PHP message: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting" while reading response header from upstream, client: 114.5.251.181, server: esj.eastasouth-institute.com, request: "POST /index.php/esmb/$$$call$$$/grid/settings/user/user-grid/send-email HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "esj.eastasouth-institute.com", referrer: "https://esj.eastasouth-institute.com/index.php/esmb/management/settings/access"
Here are my settings in the config.inc.php file:
;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;
[email]
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = smtppro.zoho.com
smtp_port = 587
; Enable SMTP authentication
smtp_auth = ssl
smtp_username = j*************h@zohomail.com
smtp_password = Kd9**********
I have tried different configurations, but the error persists. Has anyone experienced a similar issue or knows a solution to resolve this error?
4 posts - 3 participants