equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of SwiftMailer. |
|
5 * (c) 2004-2009 Chris Corbyn |
|
6 * |
|
7 * For the full copyright and license information, please view the LICENSE |
|
8 * file that was distributed with this source code. |
|
9 */ |
|
10 |
|
11 /** |
|
12 * This interface intercepts calls to the mail() function. |
|
13 * |
|
14 * @package Swift |
|
15 * @subpackage Transport |
|
16 * @author Chris Corbyn |
|
17 */ |
|
18 interface Swift_Transport_MailInvoker |
|
19 { |
|
20 |
|
21 /** |
|
22 * Send mail via the mail() function. |
|
23 * |
|
24 * This method takes the same arguments as PHP mail(). |
|
25 * |
|
26 * @param string $to |
|
27 * @param string $subject |
|
28 * @param string $body |
|
29 * @param string $headers |
|
30 * @param string $extraParams |
|
31 * |
|
32 * @return boolean |
|
33 */ |
|
34 public function mail($to, $subject, $body, $headers = null, $extraParams = null); |
|
35 |
|
36 } |