PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/framework/vendor/swift/lib/classes/Swift/Plugins/Reporter.php

http://zoop.googlecode.com/
PHP | 36 lines | 7 code | 7 blank | 22 comment | 0 complexity | 7f5fe4e543f7f17e5f56122f506beb5f 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//@require 'Swift/Mime/Message.php';
12
13/**
14 * The Reporter plugin sends pass/fail notification to a Reporter.
15 * @package Swift
16 * @subpackage Plugins
17 * @author Chris Corbyn
18 */
19interface Swift_Plugins_Reporter
20{
21  
22  /** The recipient was accepted for delivery */
23  const RESULT_PASS = 0x01;
24  
25  /** The recipient could not be accepted */
26  const RESULT_FAIL = 0x10;
27  
28  /**
29   * Notifies this ReportNotifier that $address failed or succeeded.
30   * @param Swift_Mime_Message $message
31   * @param string $address
32   * @param int $result from {@link RESULT_PASS, RESULT_FAIL}
33   */
34  public function notify(Swift_Mime_Message $message, $address, $result);
35  
36}