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:
11: /**
12: * Mailer interface.
13: */
14: interface IMailer
15: {
16:
17: /**
18: * Sends email.
19: * @return void
20: * @throws SendException
21: */
22: function send(Message $mail);
23: }
24: