Skip to content

Commit ce4c72b

Browse files
committed
#2 - Document multiple email sending
1 parent 4061643 commit ce4c72b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ $bccConfig = BccConfig::from($jsonStringOrObjectOrAssocArray);
377377
$emailConfig = EmailConfig::from($jsonStringOrObjectOrAssocArray);
378378
```
379379

380+
## Sending and queueing multiple e-mails
381+
382+
It is possible to pass an array of `Email` objects to `send()` and `queue()` functions. However, especially for sending
383+
e-mails immediately you should be aware that this can take some time. A better strategy is to queue mass mailings.
384+
380385
# Development Notes
381386

382387
Most PHPUnit tests will not be executed when there is no SMTP server or database available. The unit tests will check

0 commit comments

Comments
 (0)