Message system works occasionally

If you aren't speaking german, you can ask for support or post your request here.
Antworten
Johan Billow
Beiträge: 2
Registriert: 15. Sep 2020, 15:00

Message system works occasionally

Beitrag von Johan Billow »

Hello!
We are using Admidio in our non-profit organisation and it works well.

However we have had some issue with message system.
We get this error: "Could not instantiate mail function".

Our setup
1) We use PHP mail.
2) We send with users name and email.
3) We have 4 different roles with 10-70 members.
4) Sometimes we send to all 4 roles at the same time, sometimes only to 1 or 2.
5) We have noticed that in 2 of the groups we had some wrong emails. This is now corrected.


Today we sent a mail to all 4 roles. 2 of them worked,
however the error message appeared and the message did not save to database table.

Later we sent to all for roles separately. 2 above didnt work.

Later we sent to all 4 roles separately. All did work!

Anyone having any idea?

We have right now Admidio 3.3.12.

Greetings from Sweden
Johan
Benutzeravatar
fasse
Administrator
Beiträge: 4877
Registriert: 12. Nov 2005, 16:06

Re: Message system works occasionally

Beitrag von fasse »

Hi Johan,

maybe it's a problem with the timing and your server. But I don't exactly know. I don't think it's a problem of Admidio because than it must be a problem everytime.

But it should be better if you use mail with SMTP. You need to config some things but it will work better.

Best regards
Fasse
Johan Billow
Beiträge: 2
Registriert: 15. Sep 2020, 15:00

Re: Message system works occasionally

Beitrag von Johan Billow »

Thanks Fasse!
I have asked for error logs from server provider.
Maybe we can see something there.

I did check the opportunity for running with SMTP but
do I understand that I need a real email account and only can send from that account
specified in the settings of the module?

Is there any requirements for SMTP settings in php, I tried to find some?

May debug mode be useful?

Is it a feature request that message that has been partly sent (like for me) should be saved, maybe the possibility do store the message and then give a status (new table) for each sending to a member and/or group. Storing the recievers in a column maybe it is not the best solution? :) By all respect!

Best regards
Johan
Antworten