TYPO3 API  SVNRelease
MailInvoker.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 /**
00012  * This interface intercepts calls to the mail() function.
00013  *
00014  * @package Swift
00015  * @subpackage Transport
00016  * @author Chris Corbyn
00017  */
00018 interface Swift_Transport_MailInvoker
00019 {
00020 
00021   /**
00022    * Send mail via the mail() function.
00023    *
00024    * This method takes the same arguments as PHP mail().
00025    *
00026    * @param string $to
00027    * @param string $subject
00028    * @param string $body
00029    * @param string $headers
00030    * @param string $extraParams
00031    *
00032    * @return boolean
00033    */
00034   public function mail($to, $subject, $body, $headers = null, $extraParams = null);
00035 
00036 }