Page MenuHomeGitPull.it

No OneTemporary

Authored By
Unknown
Size
891 B
Referenced Files
None
Subscribers
None
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.

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 19, 03:26 (13 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264389
Default Alt Text
(891 B)

Event Timeline