No se puede enviar correos electrónicos OJS 3.1.1.2

Hola, actualizamos nuestro OJS de 2.4 a 3.1.1.2 y hemos tenido dificultades para el envió de correos electrónicos, como puedo solucionar este inconveniente.

error%20email

1 Like

Lograste solucionarlo? tengo el mismo problema

Hola, con este tutorial podrás utilizar nuevamente gmail como salida de correos SMTP en OJS/OMP, te lo comparto a continuación:

Tutorial Gmail SMTP

Muchas gracias por responder si estuve revisando con mi cuenta libre de gmail no eh podido crear una clave de aplicación pero si lo logre con mi correo institucional con dominio “unah.edu.pe” entonce ahi viene mi duda sobre que datos poner en los campos:
; SMTP server settings
smtp_server = smtp.gmail.com
smtp_port = 587

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
smtp_username = aaguilar@unah.edu.pe
smtp_password = ***************
Captura de pantalla 2023-07-26 112454

Este es el error que me aparece
Captura de pantalla 2023-07-26 112914

Y este es mi registro de errores
[26-Jul-2023 15:53:00 UTC] PHP Deprecated: Return type of Illuminate\Support\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/revistaunah/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Traits/EnumeratesValues.php on line 768
[26-Jul-2023 15:53:00 UTC] ojs2: 404 Not Found
[26-Jul-2023 15:53:29 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
[26-Jul-2023 16:00:01 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/revistaunah/public_html/plugins/blocks/keywordCloud/KeywordCloudBlockPlugin.inc.php:1) in /home/revistaunah/public_html/lib/pkp/classes/core/PKPRouter.inc.php on line 412
[26-Jul-2023 16:00:42 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/revistaunah/public_html/plugins/blocks/keywordCloud/KeywordCloudBlockPlugin.inc.php:1) in /home/revistaunah/public_html/lib/pkp/classes/core/PKPRouter.inc.php on line 412
[26-Jul-2023 16:13:47 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
[26-Jul-2023 16:21:41 UTC] ojs2: 404 Not Found
[26-Jul-2023 16:21:42 UTC] ojs2: 404 Not Found
[26-Jul-2023 16:22:44 UTC] ojs2: 404 Not Found
[26-Jul-2023 16:22:45 UTC] ojs2: 404 Not Found
[26-Jul-2023 16:22:48 UTC] ojs2: 404 Not Found
[26-Jul-2023 16:23:57 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
[26-Jul-2023 16:27:00 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub

En el campo smpt_password debería ser el código generado en el paso 5 del tutorial que compartí, así mismo, el smtp_auth debería ser tls y no ssl como mostraste en tu configuración, finalmente el smtp_port debe ser smtp.gmail.com