Hello,
I have a question about email without cronjob :
In source code i saw that when function send_all is called, all emails in database are sent, but, if there are 2 (or more) persons who send emails at the same moment, is there a risk that email are sent twice or more ?
thanks.
email system
Moderators: Developer, Contributor
-
- Posts: 408
- Joined: 28 Jan 2011, 18:47
- Location: France
- Contact:
email system
Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
Re: email system
I assume all emails are stored separately. That makes sense since if you wouldnt use the cronjob then all emails would be sent immediately. Cronjob does nothing else from the user perspective than delaying the messages for a while and then email all of them at once later.
(but feel free to correct me)
(but feel free to correct me)
Re: email system
Maybe misunderstood your question a bit. Sorry about that. I had used mantis without a cronjob and have found no issues with duplicated messages or so.
-
- Posts: 408
- Joined: 28 Jan 2011, 18:47
- Location: France
- Contact:
Re: email system
no problem too but i have found nothing that confirm me email cannot be sent twice
Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
Re: email system
We run without a cronjob and have no issues. if you check the functions you will see that such scenario is being handled properly.
So do not worry
So do not worry