[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/MIME/ -> MDN.php (sommaire)

(pas de description)

Poids: 258 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

MIME_MDN:: (6 méthodes):
  MIME_MDN()
  getMDNReturnAddr()
  userConfirmationNeeded()
  originalMessageText()
  generate()
  addMDNRequestHeaders()


Classe: MIME_MDN  - X-Ref

The MIME_MDN:: class implements Message Disposition Notifications as
described by RFC 2298.

$Horde: framework/MIME/MIME/MDN.php,v 1.4.10.8 2006/01/24 21:32:56 slusarz Exp $

Copyright 2004-2006 Michael Slusarz <slusarz@curecanti.org>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

MIME_MDN($mime_headers = null)   X-Ref
Constructor.

param: MIME_Headers $mime_headers  A MIME_Headers object.

getMDNReturnAddr()   X-Ref
Returns the address to return the MDN to.
Returns null if no MDN is requested.

return: string  The address to send the MDN to. Returns null if no

userConfirmationNeeded()   X-Ref
Is user input required to send the MDN?
Explicit confirmation is needed in some cases to prevent mail loops
and the use of MDNs for mail bombing.

return: boolean  Is explicit user input required to send the MDN?

originalMessageText($text)   X-Ref
When generating the MDN, should we return the enitre text of the
original message?  The default is no - we only return the headers of
the original message. If the text is passed in via this method, we
will return the entire message.

param: string $text  The text of the original message.

generate($action, $sending, $type, $mod = array()   X-Ref
Generate the MDN according to the specifications listed in RFC
2298 [3].

param: boolean $action   Was this MDN type a result of a manual action
param: boolean $sending  Was this MDN sent as a result of a manual
param: string $type      The type of action performed by the user.
param: array $mod        The list of modifications.
param: array $err        If $type is 'failue' or $mod is either 'error'
return: mixed  True on success, PEAR_Error object on error.

addMDNRequestHeaders(&$headob, $to)   X-Ref
Add a MDN (read receipt) request headers to the MIME_Headers object.

param: MIME_Headers &$headob  The MIME_Headers object to add the headers
param: string $to             The address the receipt should be mailed



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7