https://github.com/raphaelm/wordpress-mail-spooling
Save outgoing mails into database instead of sending them out so they can be sent out by a daemon.
https://github.com/raphaelm/wordpress-mail-spooling
Last synced: 12 months ago
JSON representation
Save outgoing mails into database instead of sending them out so they can be sent out by a daemon.
- Host: GitHub
- URL: https://github.com/raphaelm/wordpress-mail-spooling
- Owner: raphaelm
- Created: 2013-05-25T21:01:33.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-25T21:02:09.000Z (about 13 years ago)
- Last Synced: 2025-04-07T11:32:53.407Z (about 1 year ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Wordpress Mail Spooling
=======================
This plugin hooks the wordpress mail function and instead of sending mails
out, mails are saved into the database.
In the background, a cronjob sends the mails out. This takes the time-consuming
process of mail sending out of the webserver
Setup
-----
* Install the plugin like any wordpress plugin
* Setup a cronjob, similar to the following line in `/etc/crontab`:
`*/2 * * * * www-data php /var/www/wp-content/plugins/mail-spooling/mail-send-daemon.php > /dev/null 2>&1`
* Make sure the user executing the cronjob (www-data in our example) can write to the plugin directory
Attention
---------
* This MIGHT break mails with attachments. We haven't tried this.
* This MIGHT break in future WordPress versions.
* This SHOULD only work on Linux servers