Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 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
 */
19
interface 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
}