sendmail drop-in replacement for WordPress - Only send e-mails to addresses that can be found from WordPress users table
npm install wp-sendmail
|6||downloads in the last week|
|11||downloads in the last month|
|Version||0.1.5 last updated a month ago|
|Dependencies||mimelib, simplesmtp, mysql, npmlog|
Sendmail drop in replacement for WordPress.
By default a WordPress blog should be able to send e-mails only to registered users and to the admin and not to arbitrary e-mail addresses.
WordPress uses the default
sendmail command. This projects emulates
sendmail but checks all recipients before sending the message to a selected SMTP server. If a recipient can not be found from the users table, the message is not delivered.
This does not work in Windows.
sudo npm install --unsafe-perm -g wp-sendmail
Edit your php.ini and set
Run the checker server
Config file resides in /etc/wp-sendmail.js (this is why you need to run
npm install as root)
Config file should be readable only to the user that is used for running the server or for root, if uid/gid values are used to downgrade the server.
Additionally you should block all outgoing traffic for port 25.