Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class Swift_Transport_SimpleMailInvoker implements Swift_Transport_MailInvoker |
||
26 | // @codingStandardsIgnoreEnd* It has been slightly modified to meet phpcs standards |
||
27 | { |
||
28 | /** |
||
29 | * Send mail via the mail() function. |
||
30 | * |
||
31 | * This method takes the same arguments as PHP mail(). |
||
32 | * |
||
33 | * @param string $to |
||
34 | * @param string $subject |
||
35 | * @param string $body |
||
36 | * @param string $headers |
||
37 | * @param string $extraParams |
||
38 | * |
||
39 | * @return bool |
||
40 | */ |
||
41 | public function mail($to, $subject, $body, $headers = null, $extraParams = null) |
||
50 |