mail 
[ doc home ] [ class tree: mail ] [ index: mail ] [ all elements ]

Class: IsterMail

Source Location: /IsterMail.php

Class Overview

IsterObject
   |
   --IsterMail

This class represents an email message.


Author(s): Ingo Schramm   

Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: IsterObject

IsterObject::IsterObject()
Constructor
IsterObject::abstractMethodError()
Report attempt to call an abstract method.
IsterObject::addLogger()
Add an IsterLogger to process log messages.
IsterObject::deleteLogger()
Delete an already registered IsterLogger.
IsterObject::getLoggerNames()
Fetch the names of all currently registered IsterLoggers.
IsterObject::getMem()
Return maximum amount of memory an application has allocated at this point.
IsterObject::log()
Trigger a log message.
IsterObject::passPHPmessage()
Catch PHP E_WARNING and E_NOTICE messages.
IsterObject::serialize()
Serialize the object.
IsterObject::setLogLocal()
Set logging local for the current object.
IsterObject::setupLogger()
Setup a logger.
IsterObject::triggerError()
Alias for log();
IsterObject::unserialize()
Unserialize the object.
IsterObject::__sleep()
Executed prior to serialize().
IsterObject::__wakeup()
Executed prior to unserialize().

Class Details

This class represents an email message.

cf. RFC 822, RFC 2822


copyright:  Copyright (c) 2005 Ister.ORG Ingo Schramm
author:  Ingo Schramm


[ Top ]


Class Methods


constructor IsterMail

object IsterMail IsterMail( string $from)

Constructor

Parameters:

string   $from  

[ Top ]

method addHeader

boolean addHeader( string $header, mixed $value)

Add an arbitrary SMTP header.

Parameters:

string   $header  

[ Top ]

method send

boolean send( )

Send the mail.

[ Top ]

method setBcc

boolean setBcc( string $string)

Set the 'Bcc' of the mail.

Parameters:

string   $string  

[ Top ]

method setCc

boolean setCc( string $string)

Set the 'Cc' of the mail.

Parameters:

string   $string  

[ Top ]

method setMessage

boolean setMessage( string $string)

Set the message body of the mail.

Parameters:

string   $string  

[ Top ]

method setSubject

boolean setSubject( string $string)

Set the subject of the mail.

Parameters:

string   $string  

[ Top ]

method setTo

boolean setTo( string $string)

Set the 'To' of the mail.

Parameters:

string   $string  

[ Top ]


Documentation generated on Tue, 20 Dec 2005 11:20:58 +0100 by phpDocumentor 1.3.0RC4