YANA 4 PHP FrameworkDocs For Class Mailer

### Class Mailer

#### Description

create and send mails based on templates

- access: public

Located in /includes/class_mailer.php

    SerializeableObject
       |
       --SmartTemplate
          |
          --Mailer

#### Variable Summary

string $sender
string $subject

#### Method Summary

boolean mail (string $recipient, string $subject, string $text, [array $header = array()])
boolean send (string $recipient)

#### Variables

##### string $sender = ""

- access: public

##### string $subject = ""

- access: public

#### Methods

##### mail

boolean mail (string $recipient, string $subject, string $text, [array $header = array()])

send an e.mail

- since: Version 2.8
- static:
- access: public
- uses: Mailer::mail('recipient@somewhere.tld', - 'My Subject', 'My Text', array('from' => 'myMail@domain.tld'));

Name | Type | Description
--- | --- | ---
$recipient | string |
$subject | string |
$text | string |
$header | array | (optional)

##### send

boolean send (string $recipient)

send

send an e.mail

- since: Version 2.8
- access: public
- uses: $mailer->send('recipient@somewhere.tld');

Name | Type | Description
--- | --- | ---
$recipient | string |

#### Inherited Methods

Inherited From SmartTemplate

> SmartTemplate::SmartTemplate()
> SmartTemplate::get()
> SmartTemplate::getFilename()
> SmartTemplate::insert()
> SmartTemplate::insertByReference()
> SmartTemplate::insertFile()
> SmartTemplate::setFilename()
> SmartTemplate::write()

Inherited From SerializeableObject

> SerializeableObject::serialize()
> SerializeableObject::toString()

Documentation generated on Sat, 16 Sep 2006 17:06:00 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas Meyerwww.all-community.de/pub