Back

Class: Mail

__construct ($recipient, $subject, $text, $reply=NULL)

vytvori objekt Mail s definovanymi parametrami
$recipient - email prijimatela ci pole emailov
$subject - predmet emailu
$text - text emailu

attache ($file, $fileName=NULL)

prida prilohu k mailu

:generateAttachment ($match, $file, $fileName, $random_hash)

preprocessText ($obj, $fnc)

prida funkciu, ktora predspracuje text, parametrom funkcie je text, email
$fnc - linkage na funkciu

send ()

zaslanie emailu //return - uspenost odoslania

:testing ($set=true)


_prepare ()

priprava dat emailu na zklade parametrov


Back

ChameleonFramework © 2012 - 2024