Email not working

Install and configure FormaLMS and DoceboCE
Post Reply
filiprybar
Newbie
Posts: 7
Joined: Fri Oct 18, 2024 1:26 pm

Email not working

Post by filiprybar »

Hi Guys,

We upgraded our test environment FormaLMS from 3.2.1 version to version 4.0.11. Everything works fine, but emails stops working. We followed documentation, we can see mail config menu and all of setting are configured correctly. Email is sent to our email gateway, but in weird format so email gateway will not process it.

This is log from our email gateway FortiMail port 465 with TLS security https://ibb.co/Jw9dgdnf

Port 25 TLS Security (I error logs is nothing)
https://ibb.co/RGxkZMkK
https://ibb.co/6RyKJ320

We tried all possible scenarios but without success.

This is correct email communication from production environment 3.2.1
https://ibb.co/C3Q7vk4m

Any ideas how to fix this problem ?

Thank you very much

Best regards
alfa24
Senior Boarder
Posts: 2235
Joined: Fri Nov 24, 2017 8:45 am

Re: Email not working

Post by alfa24 »

I'm not sure the thing used to work on 3.x in your test env. It's a local instance, so I'm ready to bet your smtp won't accept a local IP (192.168.x) as a relay.
Anyway, it's not a Forma related problem. Please check it out with your email server admin.
Per supporto GRATUITO contattatemi in privato qui
filiprybar
Newbie
Posts: 7
Joined: Fri Oct 18, 2024 1:26 pm

Re: Email not working

Post by filiprybar »

Hi,

@alfa24 if we actually made a bet, you'd lose.

In the config.php configuration when we turned off the option for smtp to use the database, formalms started sending mails in the correct format and encryption. However, a new problem arose and that is that FormaLMS does not send emails "FROM" from the defined address, but under the user [email protected]. Can you please advise me where to correctly set the "FROM" email address to send from the one I need ?

Thank you in advance
alfa24
Senior Boarder
Posts: 2235
Joined: Fri Nov 24, 2017 8:45 am

Re: Email not working

Post by alfa24 »

It means your db settings are wrong.
For the from field, you can set it only when you use the db, otherwise you should go deep in the code.
Per supporto GRATUITO contattatemi in privato qui
filiprybar
Newbie
Posts: 7
Joined: Fri Oct 18, 2024 1:26 pm

Re: Email not working

Post by filiprybar »

Could you please provide an example of working DB SMTP settings ?

Thank you
alfa24
Senior Boarder
Posts: 2235
Joined: Fri Nov 24, 2017 8:45 am

Re: Email not working

Post by alfa24 »

No, I can't share personal settings.
Just compile correctly the smtp settings page.
Per supporto GRATUITO contattatemi in privato qui
Post Reply