From 9b646fad8a17b409ed9c15d8993599ea7bea6cc8 Mon Sep 17 00:00:00 2001 From: noogen Date: Tue, 23 Jan 2024 12:38:02 -0600 Subject: [PATCH] update doc --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index fc02eae..bc32c10 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,24 @@ Since we allow sending with any `FROM` address, `resque` requires authentication 3. Set your server `HOSTNAME` inside of docker-compose for using OpenSSL generated self-signed cert. 4. Test it with `-tls` with `swaks` to confirm that `STARTTLS` is working. If you have SSL issue with certain email client (such as Wordpress SMTP plugin), then you might have to purchase an actual certificate with `tls_cert.pem` and `tls_key.pem` inside of `data/config` folder. +## Note +1. To use self-signed cert with WP Mail SMTP plugin, make sure you disable verification with custom code: +```php +SMTPOptions = array( + 'ssl' => array( + 'verify_peer' => false, + 'verify_peer_name' => false, + 'allow_self_signed' => true + ) + ); + + return $phpmailer; +} ); +``` + + ## Planning / Todo - [x] Json configuration - [x] Support login credential