PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Transport/MailInvoker.php

http://zoop.googlecode.com/
PHP | 36 lines | 5 code | 4 blank | 27 comment | 0 complexity | b180183dbaac3e5d58b9158fcf3ca679 MD5 | raw file
 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 */
18interface 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}