Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail not sending since 1.11.20 #4764

Closed
RobinKal opened this issue Jun 23, 2023 · 9 comments
Closed

Mail not sending since 1.11.20 #4764

RobinKal opened this issue Jun 23, 2023 · 9 comments

Comments

@RobinKal
Copy link

Describe
After the migration from 1.11.18 to 1.11.20, mails stopped to be sent.
PHPMailer works as intended, we tried with a test script file.

To Reproduce
Steps to reproduce the behavior:

  1. Use the same configuration (app/config/mail.conf.php) on both versions
  2. Send a mail through the app
  3. Check web server logs

Expected behavior
Mails being sent to the destinator

Screenshots
Nothin is being sent, error is :
Got error 'PHP message: ERROR: mail not sent to testmail testmail (*) because of SMTP connect() failed.

**Server

  • OS: Linux Ubuntu 18.04 AND 20.04
  • Version of Chamilo: 1.11.20
  • Version of PHP: 7.4
@AngelFQC
Copy link
Member

Hi @RobinKal
Can you try with the changes from 9180710?

@RobinKal
Copy link
Author

Hi,
I applied the fix and it works !
Thank you

@Coursenligne
Copy link

Hi I confirm, it works fine.
Many thanks for the fix.

@riesaau
Copy link

riesaau commented Jul 12, 2023

I am also having this issue on my mac with mail not being sent since upgrading to 1.11.20
I have not applied the fix as yet. That will be technically difficult for me so I'm waiting to see if my host can do it.

@riesaau
Copy link

riesaau commented Jul 13, 2023

I applied the fix (my host did it for me since I am not a programmer). The reset password no longer gives me a failed message but the email never arrives. Also the announcement tool will only send emails to myself and not to the other emails that it was meant to send to.
This issue now seems similar to this one. #3625

@riesaau
Copy link

riesaau commented Jul 13, 2023

There was a delay but the email reset message eventually came through okay. so it is only the announcement tool which fails to send to anyone else except myself.

@riesaau
Copy link

riesaau commented Jul 13, 2023

One person on the announcement got the email from the tool besides myself. so I will have to look into the issue more.

@riesaau
Copy link

riesaau commented Jul 14, 2023

I think it is all working now since the fix. Thank you.

@kijorge
Copy link

kijorge commented Jul 31, 2023

Have the same problem as mentioned above... I did make the fix as mentioned, and that did actually worked - now able to send mail if someone missing password... Also sending mail - if somebody buy a course (extension buycourses)..
But - But....
If I assign a course to a student - it does not send any mail about the assignmet to the course.
Also if a student registred to the portal - they dont receive any email - with username and password.
Any surgestions ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants