dave0 / leaguerunner

Leaguerunner is a web-based application for managing scheduling, score submission and standings for an Ultimate Frisbee league.
GNU General Public License v2.0
15 stars 5 forks source link

Implement automatic email notifications #7

Open dave0 opened 14 years ago

dave0 commented 14 years ago

Originally filed by dave0000 on 2007-01-20T14:00:30

Leaguerunner needs more automatic email notifications. Right now, only password changes are sent via email. We should implement:

* score-submission reminders to notify captains of missing scores
* watchdog reminders to notify coordinators of abnormal conditions (ie:

defaulted games, unplayed games on nights with no official cancellation, low spirit, etc) * notification to captains when players request to join a team * notification to players when captains request or accept them

To implement this, we will need a much, much better way of sending email, as the existing PHP functionality is inadequate, and we don't really want to be sending mail from within the web code anyway.

dave0 commented 14 years ago

Updated by trawna.com on 2007-03-29T21:06:31

I'm about to implement the roster notifications, and am thinking about a nice, flexible mechanism for sending email. What I'm picturing (at a high level of abstraction) is a generic mail sending interface which can handle multiple back-end implementations. The first implementation would just be a wrapper around the standard PHP mail function. Other implementations could wrap different, smarter mail clients, such as PHPMailer or Pear::Mail. Each implementation could include an optional configuration function, which would be accessed through a new "mail settings" option on the menu. The implementation to use would be set on the "feature settings" page.

By doing this, there would always be at least one mail option available, the standard PHP mail. Other options would be available depending on what packages had been installed on the server; for example, some web hosts provide Pear pre-installed, so that would be a natural choice for anyone running on such a system.

dave0 commented 14 years ago

Updated by trawna.com on 2008-03-26T19:24:44

As of version 2.6:

Original ticket set status to Started (we converted to open)

dave0 commented 14 years ago

Updated by trawna.com on 2009-03-18T16:22:51

Latest checkin adds emails to league coordinators when a mismatched score is entered.