[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/mail/ -> emailmessage.class.php (sommaire)

(pas de description)

Poids: 224 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 4 fois
Nécessite: 0 fichiers

Définit 1 class

EmailMessage:: (19 méthodes):
  EmailMessage()
  addTo()
  addCc()
  addBcc()
  setFrom()
  setFromName()
  setSubject()
  setBody()
  setMimeType()
  getTo()
  getCc()
  getBcc()
  getFrom()
  getBody()
  getSubject()
  getMimeType()
  getFromName()
  setCharset()
  getCharset()


Classe: EmailMessage  - X-Ref

\ingroup Mail

Represents an email message and has basic setter and getter methods for all the most
basic attributes of an email message (To:, From:, Bcc:, etc)
EmailMessage()   X-Ref
Constructor


addTo( $to )   X-Ref
Adds a destination

param: to Destination address.

addCc( $cc )   X-Ref
Adds a Cc:

param: cc The address where we want to Cc this message

addBcc( $bcc )   X-Ref
Adds a Bcc address

param: bcc The adddress where we want to Bcc

setFrom( $from )   X-Ref
Sets the from address

param: from The originatory address

setFromName( $fromname )   X-Ref
Sets the from name

param: fromname The originatory name

setSubject( $subject )   X-Ref
Sets the subject of the message

param: subject Subject of the message

setBody( $body )   X-Ref
Sets the body of the message

param: body The text for the body of the message

setMimeType( $type )   X-Ref
Sets the MIME type. The default is 'text/plain'

param: type The MIME type

getTo()   X-Ref
Returns the "To:" list, properly arranged

return: An string with the 'to:' field

getCc()   X-Ref
Returns the "Cc:" list, properly arranged

return: An string with the 'Cc:' field

getBcc()   X-Ref
Returns the "Bcc:" list, properly arranged

return: An string with the 'Bcc:' field

getFrom()   X-Ref
Returns the From address.

return: The from address.

getBody()   X-Ref
Returns the body.

return: The body.

getSubject()   X-Ref
Returns the subject

return: The subject.

getMimeType()   X-Ref
Gets the MIME content type of the message

return: The MIME type

getFromName()   X-Ref
Returns the From name.

return: The from name.

setCharset( $charset )   X-Ref
Sets the character set of the message

param: charset The new character set

getCharset()   X-Ref
Retrieves the character set that was set for this message. Returns
by default 'iso-8859-1' if no other has been set

Ê@return the character set



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics