>> YANA 4 PHP Framework >> Docs For Class Mailer

Class Mailer

Description

create and send mails based on templates

  • access: public

Located in /includes/class_mailer.php

Object
   |
   --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

send an e.mail
boolean mail (
string $recipient, string $subject, string $text, [array $header = array()]
)
List of parameters:
Name Type Description
$recipient string
$subject string
$text string
$header array (optional)
Description:
  • since: Version 2.8
  • access: public
  • uses: Mailer::mail('recipient@somewhere.tld', - 'My Subject', 'My Text', array('from' => 'myMail@domain.tld'));
send
boolean send (
string $recipient
)
List of parameters:
Name Type Description
$recipient string
Description:

send an e.mail

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

Inherited From SmartTemplate

Inherited From Object

Documentation generated on Wed, 22 Nov 2006 20:19:09 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.all-community.de/pub