Errors configuration email SMTP and email sending - OJS 3.4

Describe the issue or problem
Please tell us what happens and what you expected to happen.
I upgraded OJS from version 3.3 to 3.4. In the config.inc.php have a new variable in email. The default config use default = sendmail. I also config SMTP and test another tool with this config very well.
The problem.
When i set default = sendmai. The system did not send by email in configuration but it uses by email’s manager user. The Notify email in Submission was sent. But the email not the organization has not received the email. Ex. Org mail is @abc.edu.vn. Emails with different endings from the organization are not being received. I check the mail log, I got the error dsn=5.0.0, stat=Service unavailable. See image

So. I change the configuration to default = smtp, and I fixed this problem. But Notify email is loop loading. I check the log and got the log like that.
image
So I have to do?

Steps I took leading up to the issue

What application are you using?
I using OJS 3.4.0

Hi @Tinh_Phan,

It doesn’t look like an OJS issue.

Is there an expanded DSN message, besides just “Service unavailable”?
What configuration have you used before, in OJS 3.3?

Can you explain in more details? smtp delivery works or not?

Hi.
with config default = sendmail.
I just get this error message when sending to a mail outside organization
I used config in OJS 3.3 and it work well.

With config default = smtp
I can send mail to an outside organization. But email Notify in submission can’t
Thanks!

That sounds like a problem with an email server configuration. It’s too little information to draw any conclusions.

Can you specify what email config you have used in OJS 3.3? smtp was turned off or on?

Are there any associated errors in PHP log when the notification email fails?

Hello, I can solve this issue. Please share your official website link.

Did anyone solved the email issue. I installed the latest version but no emails are sent.

Im also facing same kind of issue, I have configured SMTP for OJS system like below.

[email]
default = smtp
smtp = On
smtp_server = *..160.236
smtp_port = 465

But im getting the below error while sending mails from users & roles.

[Thu Aug 01 12:08:16.127111 2024] [php:notice] [pid 5828:tid 1916] [client ..32.20:50932] Connection could not be established with host "ssl://..160.236:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:0A00010B:SSL routines::wrong version number, referer:
http://..com.qa/ojs-system/index.php/500123/management/settings/access

Can anybody help me on this.