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: about 2 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 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-25T21:02:09.000Z (about 12 years ago)
- Last Synced: 2025-02-13T14:16:19.763Z (4 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 3
- 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 webserverSetup
-----
* 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 directoryAttention
---------
* 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