From db4de4eb0028a06880f66db5a7e7ebacc57c1513 Mon Sep 17 00:00:00 2001 From: dturner123 <16866402+dturner123@users.noreply.github.com> Date: Wed, 24 Jul 2019 15:29:06 +0100 Subject: [PATCH] Update README.md (#1790) Add guidance specifically regarding the use of Clear* functions when re-using the instance e.g. in a mailing list. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 70f3d909..2ad81539 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,8 @@ try { You'll find plenty more to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. +If you are re-using the instance (e.g. setting up a mailing list), you will need to clear the recipient list. See the [mailing list](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) example for further guidance. + That's it. You should now be ready to use PHPMailer! ## Localization