< Refactoring still going on
15.04.2010 11:07 Alter: 2 Jahre
Rubrik: Development
Von: Christopher Schnell

Bugfixing And Mailqueue

Today, I finally had success implementing the mailqueue of the new mailing component of symfony 1.4, the Swift Mailer. Also, some bugfixes were added to the upcoming 1.4 release of TrainOnline LMS


As written in the preface to this article, today I managed to use the mailqueue of symfony to send mails. That gives some big advantages to the TrainOnline LMS. Whenever the admin invites learners to a course, the mails are now stored in the mailqueue. Whenever a cronjob now triggers the queue, it is worked top to bottom.

The implication is that for the admin the process of "sending" is very short, he does not have to wait, until mails are sent, often leading to timeout errors for the user. Now the request for about 2000 invitations is done in some seconds.

Additionally I fixed some bugs with the courseform. The logic to check if a duedate was before or after the startdate of a course didn't work. Now it does.

Now it does and I am happy.