pragma-framework / dailyrecap
A simple Pragma module: Dailyrecap
Installs: 5 146
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 3
Open Issues: 0
Requires
- php: >=5.3.0
- html2text/html2text: ^4.2
- pear/mail: >=v1.4
- pear/mail_mime: >=v1.10.11
- pragma-framework/core: >=1.0.0
- robmorgan/phinx: >=0.11.1
README
Sending immediat mail or delayed mail.
Configuration
In config.php add:
define('PRAGMA_MODULES','core,dailyrecap');
define('PRAGMA_RETURN_MAIL', 'return email if delivery error');
define('PRAGMA_MAIL_TEMPLATE', 'path/to/template/dailyrecap.php'); // optional
define('PRAGMA_MAIL_SUBJECT', 'subject for daily recap'); // optional
define('PRAGMA_REPLY_MAIL', 'reply to email'); // optional, default is from
And run in cron:
php public/index.php dailyrecap:send
for sending email recap.