diff --git a/README.md b/README.md index 527a951..f407303 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,19 @@ # Suckless WordPress Net_SMTP bridge It just allows your WordPress installation to send e-mails through a MTA, using the Net_SMTP library that it's already packaged into your distribution. This plugin is just ~133 lines of code. The missing of a feature is a feature. ## Installation -As every WordPress plugin. + sudo apt install php-net-smtp -## Post-installation +Then go into your `wp-config.php` and fill these: - sudo apt install php-net-smtp + define( 'WP_NET_SMTP_HOST', 'mail.example.com' ); + define( 'WP_NET_SMTP_PORT', '465' ); + define( 'WP_NET_SMTP_AUTH', 'PLAIN' ); + define( 'WP_NET_SMTP_FROM', 'noreply@example.com' ); + define( 'WP_NET_SMTP_PASS', 'super-secret' ); +Then proceed to install this plugin as every WordPress plugin. You know.