Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
YOzaz authored Feb 27, 2017
1 parent e23210a commit 9a663a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ Mailer::reset()->send(...);
Mailer::stop();
```

### Silent mode

By default, failed emails won't trigger fatal error. If that's unexpected behaviour - e.g. because one may want to retry sending it - you can turn this mode off, and normal `Exception` will be thown.

```php
Mailer::setSilent(false);
```

### Initialization

Package has separate IoC binding. **N.B.** This package _does not_ overwrite 'mailer' IoC binding in Laravel for legacy purposes.
Expand Down

0 comments on commit 9a663a5

Please sign in to comment.