1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6: */
7:
8: namespace Nette\Mail;
9:
10: use Nette;
11:
12:
13: /**
14: * Exception thrown when a mail sending error is encountered.
15: */
16: class SendException extends Nette\InvalidStateException
17: {
18: }
19:
20:
21: /**
22: * SMTP mailer exception.
23: */
24: class SmtpException extends SendException
25: {
26: }
27:
28:
29: class FallbackMailerException extends SendException
30: {
31: /** @var SendException[] */
32: public $failures;
33: }
34: