A simple mail distribution
Based on Kohana 3.2 framework.
Uses a number of open source projects to work properly:
- Twitter Bootstrap - great UI boilerplate for modern web apps
- Moment.js - a lightweight JavaScript date library
- Bootstrap Datepicker - great calendar for Twitter Bootstrap
- Swift Mailer - powerful component based mailing library for PHP
- jQuery - duh
- Copy soure files to webserver.
- Make sure the
application/cache
andapplication/logs
directories are writable by the web server. - Create MySQL database and import dump file
mailing.sql
. - Configure connection to the database in
application/config/database.php
. - Set absolute site base URL in
application/bootstrap.php
on line 90. - Create crontab task for run mail distribution every 10 minutes (or someone else):
*/10 * * * * php /path/to/document/root/index.php --uri=distribution/run